2023-02-02 02:16:08 -06:00
|
|
|
FROM alpine:3.11
|
2019-01-05 00:48:18 -06:00
|
|
|
|
|
|
|
|
LABEL repository="https://github.com/SamKirkland/FTP-Deploy-Action"
|
|
|
|
|
LABEL maintainer="Sam Kirkland <FTP-Deploy-Action@samkirkland.com>"
|
|
|
|
|
|
2023-02-02 02:23:26 -06:00
|
|
|
RUN apk --no-cache add curl bash git nodejs libssh2-dev build-base
|
2019-01-05 00:48:18 -06:00
|
|
|
|
2023-02-02 02:16:08 -06:00
|
|
|
RUN curl https://raw.githubusercontent.com/git-ftp/git-ftp/1.6.0/git-ftp > /bin/git-ftp
|
|
|
|
|
RUN chmod 755 /bin/git-ftp
|
|
|
|
|
|
2020-02-18 00:34:10 -06:00
|
|
|
COPY dist/index.js /deploy.js
|
|
|
|
|
RUN chmod +x deploy.js
|
2019-01-05 00:48:18 -06:00
|
|
|
|
2020-02-18 00:34:10 -06:00
|
|
|
ENTRYPOINT ["node", "../../deploy.js"]
|