sort dependencies and remove duplicate libxml2-dev in alpine images

This commit is contained in:
Natanael Copa 2016-03-14 17:16:25 +01:00
parent b9212a0eea
commit 647490f42c
4 changed files with 23 additions and 28 deletions

View File

@ -3,10 +3,9 @@ FROM alpine:3.3
ENV PHP_INI_DIR /usr/local/etc/php
RUN mkdir -p $PHP_INI_DIR/conf.d
ENV PHP_VERSION 5.6.18
ENV PHP_FILENAME php-5.6.18.tar.xz
ENV PHP_SHA256 54dd9106c3469bc7028644d72ac140af00655420bbaaf4a742a64e9ed02ec1b0
ENV PHP_VERSION 5.6.19
ENV PHP_FILENAME php-5.6.19.tar.xz
ENV PHP_SHA256 2a24a3f84971680ac0a4c71050067de4f76ee235aa4a041fae21bfa69975c168
##<autogenerated>##
##</autogenerated>##
@ -15,20 +14,19 @@ ENV PHP_SHA256 54dd9106c3469bc7028644d72ac140af00655420bbaaf4a742a64e9ed02ec1b0
ENV GPG_KEYS 0BD78B5F97500D450838F95DFE857D9A90D90EC1 6E4F6AB321FDC07F2C332E3AC2BF0BC433CFC8B3
RUN set -xe \
&& apk add --no-cache --virtual .build-deps \
gnupg \
curl-dev \
autoconf \
curl-dev \
file \
gcc \
gnupg \
libc-dev \
libedit-dev \
libxml2-dev \
make \
openssl-dev \
pkgconf \
re2c \
libxml2-dev \
libedit-dev \
sqlite-dev \
openssl-dev \
libxml2-dev \
&& for key in $GPG_KEYS; do \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
done \

View File

@ -18,20 +18,19 @@ RUN addgroup -g 82 -S www-data \
&& adduser -u 82 -D -S -G www-data www-data
RUN set -xe \
&& apk add --no-cache --virtual .build-deps \
gnupg \
curl-dev \
autoconf \
curl-dev \
file \
gcc \
gnupg \
libc-dev \
libedit-dev \
libxml2-dev \
make \
openssl-dev \
pkgconf \
re2c \
libxml2-dev \
libedit-dev \
sqlite-dev \
openssl-dev \
libxml2-dev \
&& for key in $GPG_KEYS; do \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
done \

View File

@ -14,20 +14,19 @@ ENV PHP_SHA256 584e0e374e357a71b6e95175a2947d787453afc7f9ab7c55651c10491c4df532
ENV GPG_KEYS 1A4E8B7277C42E53DBA9C7B9BCAA30EA9C0D5763
RUN set -xe \
&& apk add --no-cache --virtual .build-deps \
gnupg \
curl-dev \
autoconf \
curl-dev \
file \
gcc \
gnupg \
libc-dev \
libedit-dev \
libxml2-dev \
make \
openssl-dev \
pkgconf \
re2c \
libxml2-dev \
libedit-dev \
sqlite-dev \
openssl-dev \
libxml2-dev \
&& for key in $GPG_KEYS; do \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
done \

View File

@ -18,20 +18,19 @@ RUN addgroup -g 82 -S www-data \
&& adduser -u 82 -D -S -G www-data www-data
RUN set -xe \
&& apk add --no-cache --virtual .build-deps \
gnupg \
curl-dev \
autoconf \
curl-dev \
file \
gcc \
gnupg \
libc-dev \
libedit-dev \
libxml2-dev \
make \
openssl-dev \
pkgconf \
re2c \
libxml2-dev \
libedit-dev \
sqlite-dev \
openssl-dev \
libxml2-dev \
&& for key in $GPG_KEYS; do \
gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; \
done \