Skip to content

Commit

Permalink
Fix Dockerfile
Browse files Browse the repository at this point in the history
Don't purge php5-phar as it is requiered to open tar archives
  • Loading branch information
jdel committed Jan 16, 2017
1 parent 28642a2 commit 6bb5004
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ ARG COMMIT=""
LABEL branch=${BRANCH}
LABEL commit=${COMMIT}

RUN apk update && apk add --no-cache supervisor apache2 php5-apache2 php5-ctype \
&& apk add --virtual=.build-dependencies openssl php5 php5-phar php5-json php5-openssl git \
RUN apk update && apk add --no-cache supervisor apache2 php5-apache2 php5-phar php5-ctype \
&& apk add --virtual=.build-dependencies openssl php5 php5-json php5-openssl git \
&& rm -rf /var/www/localhost/htdocs \
&& wget -O /var/www/localhost/sspks.zip https://github.com/jdel/sspks/archive/${COMMIT}.zip \
&& unzip /var/www/localhost/sspks.zip -d /var/www/localhost/ \
Expand Down

0 comments on commit 6bb5004

Please sign in to comment.