improve DockerFile deps to avoid errors with chill
This commit is contained in:
parent
e9c478c062
commit
fcd00855f9
@ -10,9 +10,9 @@ ARG GID=1000
|
|||||||
RUN apk update && apk add --no-cache \
|
RUN apk update && apk add --no-cache \
|
||||||
wget gnupg \
|
wget gnupg \
|
||||||
libpq-dev \
|
libpq-dev \
|
||||||
icu-dev \
|
icu-dev icu-libs icu-data-full \
|
||||||
oniguruma-dev \
|
oniguruma-dev \
|
||||||
libzip-dev \
|
libzip libzip-dev \
|
||||||
linux-headers \
|
linux-headers \
|
||||||
gcc g++ make autoconf \
|
gcc g++ make autoconf \
|
||||||
bash git \
|
bash git \
|
||||||
@ -27,7 +27,7 @@ RUN apk update && apk add --no-cache \
|
|||||||
&& pecl install redis \
|
&& pecl install redis \
|
||||||
&& docker-php-ext-enable redis \
|
&& docker-php-ext-enable redis \
|
||||||
&& apk add postgresql${POSTGRES_VERSION}-client \
|
&& apk add postgresql${POSTGRES_VERSION}-client \
|
||||||
&& apk del wget gnupg libpq-dev icu-dev oniguruma-dev libzip-dev linux-headers gcc g++ make autoconf
|
&& apk del --purge wget gnupg libpq-dev icu-dev oniguruma-dev libzip-dev linux-headers gcc g++ make autoconf
|
||||||
|
|
||||||
RUN { \
|
RUN { \
|
||||||
echo ""; \
|
echo ""; \
|
||||||
@ -52,6 +52,9 @@ RUN sed -i " \
|
|||||||
s|postgres:x:70:70:PostgreSQL user:/var/lib/postgresql:/bin/sh|postgres:x:70:70:PostgreSQL user:/var/lib/postgresql:/bin/bash|g" \
|
s|postgres:x:70:70:PostgreSQL user:/var/lib/postgresql:/bin/sh|postgres:x:70:70:PostgreSQL user:/var/lib/postgresql:/bin/bash|g" \
|
||||||
/etc/passwd
|
/etc/passwd
|
||||||
|
|
||||||
|
# chmod on redis.so
|
||||||
|
RUN chmod 755 -R /usr/local/lib/php/extensions/
|
||||||
|
|
||||||
WORKDIR /var/www/app
|
WORKDIR /var/www/app
|
||||||
|
|
||||||
CMD ["php-fpm"]
|
CMD ["php-fpm"]
|
||||||
|
Loading…
Reference in New Issue
Block a user