This commit is contained in:
william
2020-02-17 19:50:46 +08:00
commit fb476625c3
4 changed files with 138 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
# Container image that runs your code
FROM alpine:3.10
# Copies your code file from your action repository to the filesystem path `/` of the container
COPY entrypoint.sh /entrypoint.sh
#Make sure to make you entrypoint.sh file executable:
RUN chmod 777 entrypoint.sh
RUN apk update
RUN apk add --no-cache openssh
# Code file to execute when the docker container starts up (`entrypoint.sh`)
ENTRYPOINT ["/entrypoint.sh"]