Skip to content

Commit c728f44

Browse files
fix: run shell script from Dockerfile
1 parent de43afc commit c728f44

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

Dockerfile

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
# Container image that runs your code
2-
FROM alpine:3.10
1+
# Base image
2+
FROM alpine:latest
3+
4+
RUN apk add --no-cache \
5+
bash \
6+
ca-certificates \
7+
curl \
38

4-
# Copies your code file from your action repository to the filesystem path `/` of the container
59
COPY entrypoint.sh /entrypoint.sh
610

7-
# Code file to execute when the docker container starts up (`entrypoint.sh`)
8-
ENTRYPOINT ["/entrypoint.sh"]
11+
RUN chmod +x /entrypoint.sh
12+
13+
ENTRYPOINT ["/entrypoint.sh"]

0 commit comments

Comments
 (0)