15 lines
353 B
Docker
15 lines
353 B
Docker
FROM alpine:latest
|
|
LABEL Description="This image is based on alpine:latest and is used to generate Wireguard keys" \
|
|
Author="david@socialnerds.org" \
|
|
Version="0.2.1" \
|
|
License="MIT"
|
|
|
|
RUN apk --no-cache add cargo && \
|
|
cargo install wireguard-vanity-address
|
|
|
|
COPY entrypoint.sh /root/
|
|
|
|
ENTRYPOINT ["/root/entrypoint.sh"]
|
|
|
|
CMD ["-h"]
|