Merge pull request #12 from kha7iq/remove-entrypoint-script

fix: change entrypoint to execut the binary
pull/15/head
Khaliq 4 years ago committed by GitHub
commit 419cf0f818
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,3 @@
FROM alpine:latest
ENTRYPOINT ["entrypoint.sh"]
COPY scripts/entrypoint.sh /usr/bin/entrypoint.sh
RUN chmod +x /usr/bin/entrypoint.sh
FROM alpine:latest
ENTRYPOINT ["/usr/bin/pingme"]
COPY pingme /usr/bin/pingme

@ -1,6 +0,0 @@
#!/usr/bin/env sh
[ "$PINGME_USE_SERVICE" ]
: ${PINGME_USE_SERVICE:=""}
pingme $PINGME_USE_SERVICE
Loading…
Cancel
Save