Skip to content

Commit

Permalink
Workaround fix for issues #46 regarding environment variables on from…
Browse files Browse the repository at this point in the history
…-scratch containers
  • Loading branch information
smfsh committed Nov 23, 2018
1 parent e587582 commit 599008f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker-src/cms/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ WORKDIR /var/www/webroot
FROM scratch as php-dev
COPY --from=php-base . /

ENV PHP_INI_DIR /usr/local/etc/php
ENV PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi
ENV PHP_TIMEZONE America/New_York
ENV PHP_LDFLAGS -Wl,-O1 -Wl,--hash-style=both -pie
ENV PHP_CFLAGS -fstack-protector-strong -fpic -fpie -O2
ENV PHP_CPPFLAGS -fstack-protector-strong -fpic -fpie -O2

COPY docker-src/cms/entrypoint /usr/local/bin/drupalstand-entrypoint
ENTRYPOINT ["drupalstand-entrypoint"]

Expand Down

0 comments on commit 599008f

Please sign in to comment.