File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ RUN apt-get update \
7
7
&& docker-php-ext-configure pgsql \
8
8
&& docker-php-ext-install pdo pdo_pgsql pgsql \
9
9
&& docker-php-source delete \
10
- && awk 'NR==1 {print; print "\t servers {\n\t\t trusted_proxies static private_ranges\n\t }\n "; next} 1' /etc/caddy/Caddyfile > /etc/caddy/Caddyfile
10
+ && awk 'NR==1 {print; print "\t servers {\n\t\t trusted_proxies static private_ranges\n\t }\n "; next} 1' /etc/caddy/Caddyfile > /etc/caddy/Caddyfile.tmp \
11
+ && mv /etc/caddy/Caddyfile.tmp /etc/caddy/Caddyfile
11
12
12
13
WORKDIR /app
13
14
@@ -33,5 +34,4 @@ RUN php composer.phar install \
33
34
&& apt-get -y remove npm unzip \
34
35
&& apt-get -y clean \
35
36
&& apt-get -y autoremove \
36
- && mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" \
37
- && echo "extension=pdo_pgsql.so" > $PHP_INI_DIR/conf.d/pdo_pgsql.ini
37
+ && mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
You can’t perform that action at this time.
0 commit comments