use alpine:latest (#1)

* use alpine:latest

* change entrypoint

* change script

* fix typo
This commit is contained in:
Ricardo Canastro 2020-01-04 10:21:36 +00:00 committed by GitHub
parent 338436d855
commit 84a678cc67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,3 @@
FROM debian:stable-slim
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
FROM alpine:latest
COPY entrypoint /usr/bin/entrypoint
ENTRYPOINT ["entrypoint"]

6
entrypoint Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
set -e
set -o pipefail
sh -c "cp $*"

View File

@ -1 +0,0 @@
cp $SOURCE $TARGET