Skip to content

Commit

Permalink
Merge pull request #52 from webvisum/main
Browse files Browse the repository at this point in the history
[INFRA] finalizing deployer config for easy use in pipelines
  • Loading branch information
mautz-et-tong committed Aug 18, 2023
2 parents 7439567 + 2a0b6be commit 8aefdf9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 24 deletions.
9 changes: 3 additions & 6 deletions src/7.4/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -164,17 +164,14 @@ ARG TOOLBOX_RUNTIME_REQUIREMENTS_EXTRA=""
ARG TOOLBOX_BUILD_REQUIREMENTS=""
ARG TOOLBOX_BUILD_REQUIREMENTS_EXTRA=""

RUN set -xe; \
\
composer global require deployer/deployer; \
composer global update; \
ln -s ~/.composer/vendor/bin/dep /usr/local/bin/dep

# hadolint ignore=DL4006
RUN set -xe; \
\
/usr/local/bin/docker-install-requirements toolbox; \
curl https://rclone.org/install.sh | bash; \
composer require deployer/deployer; \
composer update; \
echo "export PATH=$PATH:/var/www/html/vendor/bin" >> /etc/profile; \
/usr/local/bin/docker-layer-clean

CMD ["php", "-a"]
9 changes: 3 additions & 6 deletions src/8.0/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -164,17 +164,14 @@ ARG TOOLBOX_RUNTIME_REQUIREMENTS_EXTRA=""
ARG TOOLBOX_BUILD_REQUIREMENTS=""
ARG TOOLBOX_BUILD_REQUIREMENTS_EXTRA=""

RUN set -xe; \
\
composer global require deployer/deployer; \
composer global update; \
ln -s ~/.composer/vendor/bin/dep /usr/local/bin/dep

# hadolint ignore=DL4006
RUN set -xe; \
\
/usr/local/bin/docker-install-requirements toolbox; \
curl https://rclone.org/install.sh | bash; \
composer require deployer/deployer; \
composer update; \
echo "export PATH=$PATH:/var/www/html/vendor/bin" >> /etc/profile; \
/usr/local/bin/docker-layer-clean

CMD ["php", "-a"]
9 changes: 3 additions & 6 deletions src/8.1/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -164,17 +164,14 @@ ARG TOOLBOX_RUNTIME_REQUIREMENTS_EXTRA=""
ARG TOOLBOX_BUILD_REQUIREMENTS=""
ARG TOOLBOX_BUILD_REQUIREMENTS_EXTRA=""

RUN set -xe; \
\
composer global require deployer/deployer; \
composer global update; \
ln -s ~/.composer/vendor/bin/dep /usr/local/bin/dep

# hadolint ignore=DL4006
RUN set -xe; \
\
/usr/local/bin/docker-install-requirements toolbox; \
curl https://rclone.org/install.sh | bash; \
composer require deployer/deployer; \
composer update; \
echo "export PATH=$PATH:/var/www/html/vendor/bin" >> /etc/profile; \
/usr/local/bin/docker-layer-clean

CMD ["php", "-a"]
9 changes: 3 additions & 6 deletions src/8.2/src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -164,17 +164,14 @@ ARG TOOLBOX_RUNTIME_REQUIREMENTS_EXTRA=""
ARG TOOLBOX_BUILD_REQUIREMENTS=""
ARG TOOLBOX_BUILD_REQUIREMENTS_EXTRA=""

RUN set -xe; \
\
composer global require deployer/deployer; \
composer global update; \
ln -s ~/.composer/vendor/bin/dep /usr/local/bin/dep

# hadolint ignore=DL4006
RUN set -xe; \
\
/usr/local/bin/docker-install-requirements toolbox; \
curl https://rclone.org/install.sh | bash; \
composer require deployer/deployer; \
composer update; \
echo "export PATH=$PATH:/var/www/html/vendor/bin" >> /etc/profile; \
/usr/local/bin/docker-layer-clean

CMD ["php", "-a"]

0 comments on commit 8aefdf9

Please sign in to comment.