Bringing in my own version of srueda99s scp-action for my own use :)
This commit is contained in:
11
scp-action/Dockerfile
Normal file
11
scp-action/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
# Runs on Alpine container, latest version.
|
||||
FROM alpine
|
||||
# Copy the content to the container.
|
||||
COPY . /
|
||||
# Grant executable permission on the script.
|
||||
RUN ["chmod", "+x", "/entrypoint.sh"]
|
||||
# Update the apk and download openssh
|
||||
RUN ["apk", "update"]
|
||||
RUN ["apk", "add", "git", "openssh"]
|
||||
# Runs the script.
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
Reference in New Issue
Block a user