change script

This commit is contained in:
canastro 2020-01-04 10:19:06 +00:00
parent d76a688807
commit 4b36b765cc
3 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,3 @@
FROM alpine:latest
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
COPY entrypoint.sh /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,3 +0,0 @@
#!/bin/sh -l
sh -c "cp $*"