File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -152,17 +152,16 @@ RUN sudo wget --quiet https://github.com/ergebnis/composer-normalize/releases/do
152
152
RUN sudo wget --quiet https://github.com/phpbrew/phpbrew/releases/latest/download/phpbrew.phar && \
153
153
sudo chmod +x phpbrew.phar && \
154
154
sudo mv phpbrew.phar /usr/bin/phpbrew && \
155
- echo -e "[[ -e ~/.phpbrew/bashrc ]] && source ~/.phpbrew/bashrc" >> ~/.bashrc && \
155
+ echo -e "export PHPBREW_SET_PROMPT=0" >> ~/.bashrc && \
156
+ echo -e "[[ -e ~/.phpbrew/bashrc ]] && source ~/.phpbrew/bashrc" >> ~/.zshrc && \
157
+ echo -e "export PHPBREW_SET_PROMPT=0" >> ~/.zshrc && \
156
158
echo -e "[[ -e ~/.phpbrew/bashrc ]] && source ~/.phpbrew/bashrc" >> ~/.zshrc
157
159
158
160
# Install php8 with phpbrew
159
161
RUN sudo mkdir -p /opt/phpbrew && sudo chmod -R 777 /opt/phpbrew && sudo chown gitpod /opt/phpbrew && \
160
162
phpbrew init --root=/opt/phpbrew && \
161
- phpbrew install php-8.0.13 as php-8 +default +mbstring +gd
162
-
163
- RUN source ~/.phpbrew/bashrc && \
164
- phpbrew switch php-8 && \
165
- phpbrew ext install gd
163
+ phpbrew install php-8.0.13 as php-8 +default +gd && \
164
+ phpbrew install php-7.4.26 as php-7 +default +gd
166
165
167
166
# Install wp-cli
168
167
RUN sudo wget --quiet https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && \
You can’t perform that action at this time.
0 commit comments