added entrypoint.sh to fix an issue when trying to exit the command
This commit is contained in:
parent
2dcf0a40b9
commit
45b973aa67
|
@ -1,10 +1,14 @@
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
LABEL Description="This image is based on alpine:latest and is used to generate Wireguard keys" \
|
LABEL Description="This image is based on alpine:latest and is used to generate Wireguard keys" \
|
||||||
Author="david@socialnerds.org" \
|
Author="david@socialnerds.org" \
|
||||||
Version="0.2" \
|
Version="0.2.1" \
|
||||||
License="MIT"
|
License="MIT"
|
||||||
|
|
||||||
RUN apk --no-cache add cargo && \
|
RUN apk --no-cache add cargo && \
|
||||||
cargo install wireguard-vanity-address
|
cargo install wireguard-vanity-address
|
||||||
|
|
||||||
ENTRYPOINT ["/root/.cargo/bin/wireguard-vanity-address"]
|
COPY entrypoint.sh /root/
|
||||||
|
|
||||||
|
ENTRYPOINT ["/root/entrypoint.sh"]
|
||||||
|
|
||||||
|
CMD ["-h"]
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
/root/.cargo/bin/wireguard-vanity-address $@
|
Loading…
Reference in New Issue