Skip to content

Commit 2cd1b30

Browse files
committed
add PHPBREW_ENV env variable
1 parent 700e550 commit 2cd1b30

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

phpbrew/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ ENV PHPBREW_ROOT /root/.phpbrew
2828
# phpbrew home stores the user preference
2929
ENV PHPBREW_HOME /root/.phpbrew
3030

31+
ENV PHPBREW_BIN=/root/.phpbrew/bin
32+
3133
# enable bash prompt
3234
ENV PHPBREW_SET_PROMPT 1
3335

@@ -57,3 +59,5 @@ RUN source ~/.phpbrew/bashrc \
5759
&& phpbrew info \
5860
&& mkdir -p /src/php \
5961
&& ln -s /root/.phpbrew/build/$PHPBREW_PHP /src/php/$PHPBREW_PHP
62+
63+
ENV PHPBREW_PHP=$PHP_DIST_NAME

0 commit comments

Comments
 (0)