merge deps RUN blocks to optimize
This commit is contained in:
parent
39b9e839c2
commit
1a1188c612
@ -26,11 +26,8 @@ RUN apk update && apk add --no-cache \
|
||||
&& cd .. && rm -rf php-ast \
|
||||
&& pecl install redis \
|
||||
&& docker-php-ext-enable redis \
|
||||
&& apk del wget gnupg g++ icu-dev libzip-dev
|
||||
|
||||
RUN apk add postgresql${POSTGRES_VERSION}-client
|
||||
|
||||
RUN apk del oniguruma-dev linux-headers gcc make autoconf
|
||||
&& apk add postgresql${POSTGRES_VERSION}-client \
|
||||
&& apk del wget gnupg libpq-dev icu-dev oniguruma-dev libzip-dev linux-headers gcc g++ make autoconf
|
||||
|
||||
# "ERROR: Package cache is not enabled." \
|
||||
# https://github.com/gliderlabs/docker-alpine/issues/224
|
||||
|
Loading…
Reference in New Issue
Block a user