Compare commits

1 Commits

Author SHA1 Message Date
Sam Kirkland
6647c2f8ad Merge pull request #346 from SamKirkland/v3.1.2-patch
v3.1.2-patch
2022-12-15 09:39:43 -06:00

View File

@@ -1,12 +1,12 @@
FROM alpine:3.11 FROM debian:stable-slim
LABEL repository="https://github.com/SamKirkland/FTP-Deploy-Action" LABEL repository="https://github.com/SamKirkland/FTP-Deploy-Action"
LABEL maintainer="Sam Kirkland <FTP-Deploy-Action@samkirkland.com>" LABEL maintainer="Sam Kirkland <FTP-Deploy-Action@samkirkland.com>"
RUN apk --no-cache add curl bash git nodejs libssh2-dev build-base RUN apt-get update
RUN apt-get install -y git
RUN curl https://raw.githubusercontent.com/git-ftp/git-ftp/1.6.0/git-ftp > /bin/git-ftp RUN apt-get install -y git-ftp
RUN chmod 755 /bin/git-ftp RUN apt-get install -y nodejs
COPY dist/index.js /deploy.js COPY dist/index.js /deploy.js
RUN chmod +x deploy.js RUN chmod +x deploy.js