Skip to content

Commit b3257d6

Browse files
committed
add php-posix and bash everywhere
1 parent c783391 commit b3257d6

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

build/Dockerfile-nginx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ RUN apk --no-cache add tzdata && \
1414
echo "UTC" | tee /etc/timezone && \
1515
apk del tzdata
1616

17-
RUN apk --no-cache add bash
18-
1917
RUN apk --no-cache add \
2018
php7 php7-opcache php7-fpm php7-cgi php7-ctype php7-json php7-dom php7-zip php7-zip php7-gd \
2119
php7-curl php7-mbstring php7-redis php7-mcrypt php7-posix php7-pdo_mysql php7-tokenizer php7-simplexml php7-session \
2220
php7-xml php7-sockets php7-openssl php7-fileinfo php7-ldap php7-exif php7-pcntl php7-xmlwriter php7-phar php7-zlib \
2321
php7-intl
2422
ADD etc/php.ini /etc/php7/php.ini
2523

24+
RUN apk --no-cache add bash
25+
2626
RUN apk --no-cache add nginx
2727
ADD etc/nginx_default.conf /etc/nginx/sites-enabled/default
2828
ADD etc/nginx.conf /etc/nginx/nginx.conf

build/Dockerfile-ppm

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,18 @@ RUN apk --no-cache add tzdata && \
1616

1717
RUN apk --no-cache add \
1818
php7 php7-opcache php7-fpm php7-cgi php7-ctype php7-json php7-dom php7-zip php7-zip php7-gd \
19-
php7-curl php7-mbstring php7-redis php7-mcrypt php7-pdo_mysql php7-tokenizer php7-simplexml php7-session \
19+
php7-curl php7-mbstring php7-redis php7-mcrypt php7-posix php7-pdo_mysql php7-tokenizer php7-simplexml php7-session \
2020
php7-xml php7-sockets php7-openssl php7-fileinfo php7-ldap php7-exif php7-pcntl php7-xmlwriter php7-phar php7-zlib \
2121
php7-intl
2222
ADD etc/php.ini /etc/php7/php.ini
2323

24+
RUN apk --no-cache add bash
25+
26+
EXPOSE 80
27+
2428
COPY --from=composer /ppm /ppm
2529

2630
WORKDIR /var/www
2731

2832
ADD run-ppm.sh /etc/app/run.sh
29-
3033
ENTRYPOINT ["/bin/sh", "/etc/app/run.sh"]

build/Dockerfile-standalone

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,18 @@ RUN apk --no-cache add tzdata && \
1616

1717
RUN apk --no-cache add \
1818
php7 php7-opcache php7-fpm php7-cgi php7-ctype php7-json php7-dom php7-zip php7-zip php7-gd \
19-
php7-curl php7-mbstring php7-redis php7-mcrypt php7-pdo_mysql php7-tokenizer php7-simplexml php7-session \
19+
php7-curl php7-mbstring php7-redis php7-mcrypt php7-posix php7-pdo_mysql php7-tokenizer php7-simplexml php7-session \
2020
php7-xml php7-sockets php7-openssl php7-fileinfo php7-ldap php7-exif php7-pcntl php7-xmlwriter php7-phar php7-zlib \
2121
php7-intl
2222
ADD etc/php.ini /etc/php7/php.ini
2323

24+
RUN apk --no-cache add bash
25+
2426
EXPOSE 80
2527

2628
COPY --from=composer /ppm /ppm
2729

2830
WORKDIR /var/www
2931

3032
ADD run-standalone.sh /etc/app/run.sh
31-
CMD /bin/sh /etc/app/run.sh
33+
ENTRYPOINT ["/bin/bash", "/etc/app/run.sh"]

0 commit comments

Comments
 (0)