File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 2121 strategy :
2222 matrix :
2323 include :
24+ - tag : " deployer8"
25+ context : " deployer/v8"
2426 - tag : " deployer7"
2527 context : " deployer/v7"
2628 - tag : " deployer6"
Original file line number Diff line number Diff line change 1+ FROM dockette/php:8.4
2+
3+ LABEL maintainer=
"[email protected] " 4+
5+ ENV DEPLOYER_VERSION=8.0.0-alpha.2
6+ ENV DEPLOYER_BIN=/usr/local/bin/dep
7+
8+ # INSTALLATION
9+ RUN apt update && apt dist-upgrade -y && \
10+ # DEPENDENCIES #############################################################
11+ apt install -y wget curl git openssh-client rsync && \
12+ # DEPLOYER #################################################################
13+ curl -LO https://github.com/deployphp/deployer/releases/download/v${DEPLOYER_VERSION}/deployer.phar && \
14+ mv deployer.phar ${DEPLOYER_BIN} && \
15+ chmod +x ${DEPLOYER_BIN} && \
16+ # CLEAN UP #################################################################
17+ apt-get clean -y && \
18+ apt-get autoclean -y && \
19+ apt-get autoremove -y && \
20+ rm -rf /var/lib/apt/lists/* /var/lib/log/* /tmp/* /var/tmp/*
21+
22+ # WORKDIR
23+ WORKDIR /srv
24+
25+ # COMMAND
26+ CMD ["/usr/local/bin/dep" ]
You can’t perform that action at this time.
0 commit comments