From e29bb34cd50ce551dc78ff07c4964be0b48232f8 Mon Sep 17 00:00:00 2001 From: Andreas Mautz Date: Thu, 17 Aug 2023 16:03:28 +0200 Subject: [PATCH] [INFRA] try to make dep as command available --- src/7.4/src/Dockerfile | 2 +- src/8.0/src/Dockerfile | 2 +- src/8.1/src/Dockerfile | 2 +- src/8.2/src/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/7.4/src/Dockerfile b/src/7.4/src/Dockerfile index afdfb6b..8756e99 100644 --- a/src/7.4/src/Dockerfile +++ b/src/7.4/src/Dockerfile @@ -168,7 +168,7 @@ RUN set -xe; \ \ composer global require deployer/deployer; \ composer global update; \ - echo "export PATH=$PATH:~/.composer/vendor/bin" >> ~/.bashrc && . ~/.bashrc + ln -s ~/.composer/vendor/bin/dep /usr/local/bin/dep # hadolint ignore=DL4006 RUN set -xe; \ diff --git a/src/8.0/src/Dockerfile b/src/8.0/src/Dockerfile index ef45574..15ee84c 100644 --- a/src/8.0/src/Dockerfile +++ b/src/8.0/src/Dockerfile @@ -168,7 +168,7 @@ RUN set -xe; \ \ composer global require deployer/deployer; \ composer global update; \ - echo "export PATH=$PATH:~/.composer/vendor/bin" >> ~/.bashrc && . ~/.bashrc + ln -s ~/.composer/vendor/bin/dep /usr/local/bin/dep # hadolint ignore=DL4006 RUN set -xe; \ diff --git a/src/8.1/src/Dockerfile b/src/8.1/src/Dockerfile index 63cefcb..3cb585a 100644 --- a/src/8.1/src/Dockerfile +++ b/src/8.1/src/Dockerfile @@ -168,7 +168,7 @@ RUN set -xe; \ \ composer global require deployer/deployer; \ composer global update; \ - echo "export PATH=$PATH:~/.composer/vendor/bin" >> ~/.bashrc && . ~/.bashrc + ln -s ~/.composer/vendor/bin/dep /usr/local/bin/dep # hadolint ignore=DL4006 RUN set -xe; \ diff --git a/src/8.2/src/Dockerfile b/src/8.2/src/Dockerfile index 3c81fba..9476380 100644 --- a/src/8.2/src/Dockerfile +++ b/src/8.2/src/Dockerfile @@ -168,7 +168,7 @@ RUN set -xe; \ \ composer global require deployer/deployer; \ composer global update; \ - echo "export PATH=$PATH:~/.composer/vendor/bin" >> ~/.bashrc && . ~/.bashrc + ln -s ~/.composer/vendor/bin/dep /usr/local/bin/dep # hadolint ignore=DL4006 RUN set -xe; \