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
|
||||
LABEL Description="This image is based on alpine:latest and is used to generate Wireguard keys" \
|
||||
Author="david@socialnerds.org" \
|
||||
Version="0.2" \
|
||||
Version="0.2.1" \
|
||||
License="MIT"
|
||||
|
||||
RUN apk --no-cache add cargo && \
|
||||
cargo install wireguard-vanity-address
|
||||
|
||||
ENTRYPOINT ["/root/.cargo/bin/wireguard-vanity-address"]
|
||||
COPY entrypoint.sh /root/
|
||||
|
||||
ENTRYPOINT ["/root/entrypoint.sh"]
|
||||
|
||||
CMD ["-h"]
|
||||
|
3
entrypoint.sh
Executable file
3
entrypoint.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
/root/.cargo/bin/wireguard-vanity-address $@
|
Loading…
Reference in New Issue
Block a user