Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS=1 \
APP_URL_CHECK_DISABLED=0 \
SHOPWARE_SKIP_WEBINSTALLER=0 \
APP_SECRET=def00000bb5acb32b54ff8ee130270586eec0e878f7337dc7a837acc31d3ff00f93a56b595448b4b29664847dd51991b3314ff65aeeeb761a133b0ec0e070433bff08e48 \
LOCK_DSN=flock
LOCK_DSN=flock \
APP_ENV=xxxxxxx

ENTRYPOINT [ "/entrypoint" ]
CMD [ "/usr/bin/supervisord", "-c", "/etc/supervisord.conf" ]
4 changes: 4 additions & 0 deletions dev/rootfs/entrypoint
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env sh

if [ "$APP_ENV" = "xxxxxxx" ]; then
unset APP_ENV
fi

if [ -n "$PHP_PROFILER" ]; then
mv /usr/local/etc/php/conf.d/docker-php-ext-$PHP_PROFILER.disabled /usr/local/etc/php/conf.d/docker-php-ext-$PHP_PROFILER.ini
fi
Expand Down
Loading