2023-12-19 08:59:18 +01:00
|
|
|
FROM alpine:latest
|
|
|
|
LABEL Description="This image is based on alpine:latest and is used to generate Wireguard keys" \
|
2021-08-17 23:07:42 +02:00
|
|
|
Author="david@socialnerds.org" \
|
2023-12-19 10:33:34 +01:00
|
|
|
Version="0.2.1" \
|
2021-08-17 23:07:42 +02:00
|
|
|
License="MIT"
|
|
|
|
|
2023-12-19 08:59:18 +01:00
|
|
|
RUN apk --no-cache add cargo && \
|
2021-08-17 23:07:42 +02:00
|
|
|
cargo install wireguard-vanity-address
|
|
|
|
|
2023-12-19 10:33:34 +01:00
|
|
|
COPY entrypoint.sh /root/
|
|
|
|
|
|
|
|
ENTRYPOINT ["/root/entrypoint.sh"]
|
|
|
|
|
|
|
|
CMD ["-h"]
|