16 lines
406 B
Docker
16 lines
406 B
Docker
|
FROM archlinux:latest
|
||
|
LABEL Description="This image is based on Archlinux and is used to generate Wireguard keys" \
|
||
|
Author="david@socialnerds.org" \
|
||
|
Version="0.1" \
|
||
|
License="MIT"
|
||
|
|
||
|
RUN pacman -Syu --noconfirm && \
|
||
|
pacman -S --noconfirm --needed base-devel cargo && \
|
||
|
cargo install wireguard-vanity-address
|
||
|
|
||
|
COPY entrypoint.sh /root/
|
||
|
|
||
|
ENTRYPOINT ["/root/entrypoint.sh"]
|
||
|
|
||
|
CMD ["-h"]
|