Skip to content

Commit fe6525b

Browse files
committed
Add alpha version of deployer v8
1 parent 346765f commit fe6525b

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
strategy:
2222
matrix:
2323
include:
24+
- tag: "deployer8"
25+
context: "deployer/v8"
2426
- tag: "deployer7"
2527
context: "deployer/v7"
2628
- tag: "deployer6"

deployer/v8/Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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"]

0 commit comments

Comments
 (0)