Move to Ubuntu 16.10 and PHP 7.0. Huge speed improvement.

This commit is contained in:
Jeroen Geusebroek 2016-12-26 21:43:57 +01:00
parent 484d6366ae
commit 189edcab20
2 changed files with 6 additions and 6 deletions

View File

@ -1,16 +1,16 @@
FROM ubuntu:15.10 FROM ubuntu:16.10
MAINTAINER Jeroen Geusebroek <me@jeroengeusebroek.nl> MAINTAINER Jeroen Geusebroek <me@jeroengeusebroek.nl>
ENV DEBIAN_FRONTEND="noninteractive" \ ENV DEBIAN_FRONTEND="noninteractive" \
TERM="xterm" \ TERM="xterm" \
APTLIST="apache2 php5 php5-curl php5-gd php5-gmp php5-mysql git-core" \ APTLIST="apache2 php7.0 php7.0-curl php7.0-gd php7.0-gmp php7.0-mysql php-xml php-xmlrpc git-core" \
REFRESHED_AT='2015-02-17' REFRESHED_AT='2016-12-26'
RUN echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/02apt-speedup &&\ RUN echo "force-unsafe-io" > /etc/dpkg/dpkg.cfg.d/02apt-speedup &&\
echo "Acquire::http {No-Cache=True;};" > /etc/apt/apt.conf.d/no-cache && \ echo "Acquire::http {No-Cache=True;};" > /etc/apt/apt.conf.d/no-cache && \
apt-get -q update && \ apt-get -q update && \
apt-get -qy --force-yes dist-upgrade && \ apt-get -qy dist-upgrade && \
apt-get install -qy --force-yes $APTLIST && \ apt-get install -qy $APTLIST && \
# Cleanup # Cleanup
apt-get -y autoremove && \ apt-get -y autoremove && \

View File

@ -1,7 +1,7 @@
[![](https://images.microbadger.com/badges/image/jgeusebroek/spotweb.svg)](https://microbadger.com/images/jgeusebroek/spotweb "Get your own image badge on microbadger.com") [![](https://images.microbadger.com/badges/image/jgeusebroek/spotweb.svg)](https://microbadger.com/images/jgeusebroek/spotweb "Get your own image badge on microbadger.com")
# Docker Spotweb image # Docker Spotweb image
An image running [ubuntu/15.10](https://github.com/gliderlabs/docker-alpine) Linux and [Spotweb](https://github.com/spotweb/spotweb) (media branch). An image running [ubuntu/16.10](https://github.com/ubuntu/16.10) Linux and [Spotweb](https://github.com/spotweb/spotweb) (media branch).
## Requirements ## Requirements