mirror of
https://github.com/canastro/copy-action.git
synced 2024-11-23 10:33:51 +08:00
use alpine:latest (#1)
* use alpine:latest * change entrypoint * change script * fix typo
This commit is contained in:
parent
338436d855
commit
84a678cc67
@ -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
6
entrypoint
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
sh -c "cp $*"
|
@ -1 +0,0 @@
|
||||
cp $SOURCE $TARGET
|
Loading…
Reference in New Issue
Block a user