-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
8 changed files
with
1,597 additions
and
614 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM php:7.2-fpm-alpine as deps | ||
FROM php:7.4-fpm-alpine3.12 as deps | ||
COPY --from=composer:1.6 /usr/bin/composer /usr/bin/composer | ||
WORKDIR /app | ||
COPY app/AppKernel.php /app/app/ | ||
|
@@ -7,15 +7,16 @@ COPY composer.json /app/ | |
COPY composer.lock /app/ | ||
RUN composer install --optimize-autoloader --no-interaction --ignore-platform-reqs --no-scripts | ||
|
||
FROM php:7.2-fpm-alpine3.11 | ||
FROM php:7.4-fpm-alpine3.12 | ||
MAINTAINER Adam Quaile <[email protected]> | ||
RUN apk update --no-cache \ | ||
&& apk add openssl \ | ||
&& apk add ca-certificates \ | ||
&& apk add zlib-dev \ | ||
&& apk add bash \ | ||
&& apk add nginx=1.16.1-r6 \ | ||
&& apk add nginx=1.18.0-r0 \ | ||
&& apk add zip \ | ||
&& apk add libzip-dev=1.6.1-r1 \ | ||
&& apk add unzip \ | ||
&& docker-php-source extract \ | ||
&& docker-php-ext-install zip \ | ||
|
@@ -41,4 +42,4 @@ RUN addgroup enveloper && adduser -D -G enveloper enveloper && \ | |
/var/lib/nginx/ \ | ||
/etc/nginx | ||
USER enveloper | ||
CMD ["/usr/local/bin/shoreman"] | ||
CMD ["/usr/local/bin/shoreman"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.