mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2025-08-14 14:05:05 +00:00
Update Dockerfile
This commit is contained in:
parent
422dce0884
commit
92c056182f
@ -1,14 +1,15 @@
|
|||||||
FROM debian:11-slim
|
FROM alpine:3.11
|
||||||
|
|
||||||
|
|
||||||
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 apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y git
|
RUN apt-get install -y git
|
||||||
RUN apt-get install -y git-ftp
|
|
||||||
RUN apt-get install -y nodejs
|
RUN apt-get install -y nodejs
|
||||||
|
|
||||||
|
RUN curl https://raw.githubusercontent.com/git-ftp/git-ftp/1.6.0/git-ftp > /bin/git-ftp
|
||||||
|
RUN chmod 755 /bin/git-ftp
|
||||||
|
|
||||||
COPY dist/index.js /deploy.js
|
COPY dist/index.js /deploy.js
|
||||||
RUN chmod +x deploy.js
|
RUN chmod +x deploy.js
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user