Bringing in my own version of srueda99s scp-action for my own use :)

This commit is contained in:
2024-09-25 19:37:11 -07:00
parent 1e6222dfd8
commit 3bd16a1efd
5 changed files with 170 additions and 0 deletions

11
scp-action/Dockerfile Normal file
View 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" ]