diff --git a/Dockerfile b/Dockerfile index 2814b00..66db66b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,3 @@ -FROM debian:stable-slim -ADD entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh -ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file +FROM alpine:latest +COPY entrypoint /usr/bin/entrypoint +ENTRYPOINT ["entrypoint"] \ No newline at end of file diff --git a/entrypoint b/entrypoint new file mode 100644 index 0000000..a31d73f --- /dev/null +++ b/entrypoint @@ -0,0 +1,6 @@ +#!/bin/bash + +set -e +set -o pipefail + +sh -c "cp $*" \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh deleted file mode 100644 index 651e2ca..0000000 --- a/entrypoint.sh +++ /dev/null @@ -1 +0,0 @@ -cp $SOURCE $TARGET \ No newline at end of file