Skip to content

Commit 916dbc3

Browse files
committed
fix PATH image editing
1 parent 31983c6 commit 916dbc3

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

7.4/Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
FROM kooldev/php:7.4
22

33
# make Composer global vendor/bin available through PATH
4-
RUN echo "export PATH=/root/.composer/vendor/bin:\$PATH" > /etc/profile.d/composer.sh
5-
RUN echo "export PATH=/phars:\$PATH" > /etc/profile.d/phars.sh
4+
RUN echo "export PATH=\$PATH:\/root\/.composer\/vendor\/bin:\/phars/" | tee -a /etc/profile
65

76
# install dependencies (ast)
87
RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \

8.0/Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
FROM kooldev/php:8.0
22

33
# make Composer global vendor/bin available through PATH
4-
RUN echo "export PATH=/root/.composer/vendor/bin:\$PATH" > /etc/profile.d/composer.sh
5-
RUN echo "export PATH=/phars:\$PATH" > /etc/profile.d/phars.sh
4+
RUN echo "export PATH=\$PATH:\/root\/.composer\/vendor\/bin:\/phars/" | tee -a /etc/profile
65

76
# install dependencies (ast)
87
RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \

template/Dockerfile.blade.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
FROM {{ $from }}
22

33
# make Composer global vendor/bin available through PATH
4-
RUN echo "export PATH=/root/.composer/vendor/bin:\$PATH" > /etc/profile.d/composer.sh
5-
RUN echo "export PATH=/phars:\$PATH" > /etc/profile.d/phars.sh
4+
RUN echo "export PATH=\$PATH:\/root\/.composer\/vendor\/bin:\/phars/" | tee -a /etc/profile
65

76
# install dependencies (ast)
87
RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \

0 commit comments

Comments
 (0)