diff --git a/Dockerfile b/Dockerfile index 915cdc1..316573e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,9 +10,9 @@ ARG GID=1000 RUN apk update && apk add --no-cache \ wget gnupg \ libpq-dev \ - icu-dev \ + icu-dev icu-libs icu-data-full \ oniguruma-dev \ - libzip-dev \ + libzip libzip-dev \ linux-headers \ gcc g++ make autoconf \ bash git \ @@ -27,7 +27,7 @@ RUN apk update && apk add --no-cache \ && pecl install redis \ && docker-php-ext-enable redis \ && 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 { \ 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" \ /etc/passwd +# chmod on redis.so +RUN chmod 755 -R /usr/local/lib/php/extensions/ + WORKDIR /var/www/app CMD ["php-fpm"]