Skip to content
This repository was archived by the owner on Feb 2, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions recipes/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,10 @@ RUN mkdir -p ${HOME}/che/ls-php/php-language-server && \
rm -rf vendor && \
sudo chgrp -R 0 ${HOME}/che && \
sudo chmod -R g+rwX ${HOME}/che
ENV GAE_VERSION="1.9.70"
RUN sudo apt-get update && \
sudo apt-get install --no-install-recommends -y -q build-essential python2.7 python2.7-dev python-pip php-bcmath && \
sudo pip install -U pip && \
sudo pip install virtualenv
RUN cd /home/user/ && wget -q https://storage.googleapis.com/appengine-sdks/featured/google_appengine_${GAE_VERSION}.zip && \
unzip -q google_appengine_${GAE_VERSION}.zip && \
rm google_appengine_${GAE_VERSION}.zip && \
for f in "/home/user/google_appengine"; do \
sudo chgrp -R 0 ${f} && \
sudo chmod -R g+rwX ${f}; \
done
EXPOSE 8080 8000

# label is used in Servers tab to display mapped port for Apache process on 80 port in the container
Expand Down
13 changes: 7 additions & 6 deletions recipes/php/gae/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,17 @@

FROM eclipse/php
ENV GAE /home/user/google_appengine
ENV GAE_VERSION="1.9.70"

RUN sudo apt-get update && \
sudo apt-get install --no-install-recommends -y -q build-essential python2.7 python2.7-dev python-pip php-bcmath && \
sudo pip install -U pip && \
sudo pip install virtualenv
RUN cd /home/user/ && wget -q https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.40.zip && \
unzip -q google_appengine_1.9.40.zip && \
rm google_appengine_1.9.40.zip && \
for f in "/home/user"; do \
sudo chgrp -R 0 ${f} && \
sudo chmod -R g+rwX ${f}; \
RUN cd /home/user/ && wget -q https://storage.googleapis.com/appengine-sdks/featured/google_appengine_${GAE_VERSION}.zip && \
unzip -q google_appengine_${GAE_VERSION}.zip && \
rm google_appengine_${GAE_VERSION}.zip && \
for f in "/home/user/google_appengine"; do \
sudo chgrp -R 0 ${f} && \
sudo chmod -R g+rwX ${f}; \
done
EXPOSE 8080 8000