Commit 40ab50c8 authored by Camil Staps's avatar Camil Staps 🚀

Fix /src/view.php from Docker container

parent dd4542fb
Clean System Files/
FROM php:apache
# PHP dependencies
RUN docker-php-source extract \
&& apt-get update \
&& apt-get install -y php-net-socket\
&& docker-php-ext-install sockets mysqli\
&& docker-php-source delete
# Clean libraries, for /srv/view.php
RUN apt-get update && apt-get install -y subversion ca-certificates
RUN mkdir -p /opt/clean && cd /opt/clean &&\
curl -sSL\
| tar --strip-components=1 -xz &&\
make -j
RUN svn checkout /opt/clean/lib/SoccerFun
# Pygments, for highlighting
RUN apt-get update && apt-get install -y python3.4 python3-pip mercurial
RUN hg clone /opt/pygments &&\
pip3 install -e /opt/pygments
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment