Adding autoremove
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM ubuntu:14.04
|
||||
FROM ubuntu:14.04.2
|
||||
MAINTAINER Ric Harvey <ric@ngineered.co.uk>
|
||||
|
||||
# Surpress Upstart errors/warning
|
||||
@@ -11,12 +11,15 @@ ENV DEBIAN_FRONTEND noninteractive
|
||||
# Update base image
|
||||
# Add sources for latest nginx
|
||||
# Install software requirements
|
||||
RUN nginx=development && \
|
||||
RUN apt-get update && \
|
||||
apt-get install -y software-properties-common && \
|
||||
nginx=development && \
|
||||
add-apt-repository ppa:nginx/$nginx && \
|
||||
apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
BUILD_PACKAGES="supervisor nginx php5-fpm git php5-mysql php5-mysql php-apc php5-curl php5-gd php5-intl php5-mcrypt php5-memcache php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-pgsql php5-mongo pwgen" && \
|
||||
apt-get -y install $BUILD_PACKAGES && \
|
||||
apt-get remove --purge -y software-properties-common && \
|
||||
apt-get autoremove -y && \
|
||||
apt-get clean && \
|
||||
apt-get autoclean && \
|
||||
echo -n > /var/lib/apt/extended_states && \
|
||||
|
||||
@@ -8,7 +8,7 @@ If you have any improvements please submit a pull request.
|
||||
The Docker hub build can be found here: [https://registry.hub.docker.com/u/richarvey/nginx-php-fpm/](https://registry.hub.docker.com/u/richarvey/nginx-php-fpm/)
|
||||
|
||||
## Nginx Versions
|
||||
- Mainline Version: **1.9.2**
|
||||
- Mainline Version: **1.9.3**
|
||||
- Stable Version: **1.8.0**
|
||||
- *Latest = Mainline Version*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user