Pin Docker image versions
Resolves https://github.com/there4/markdown-resume/issues/97 Thanks @emcode
This commit is contained in:
parent
e5f1703068
commit
b17bc8db68
|
@ -1,10 +1,10 @@
|
||||||
# Utilize multi-stage build to keep image size down
|
# Utilize multi-stage build to keep image size down
|
||||||
FROM composer as composer
|
FROM composer:2.0.4 as composer
|
||||||
COPY composer.* ./
|
COPY composer.* ./
|
||||||
RUN composer install --no-dev --optimize-autoloader --no-progress --no-suggest
|
RUN composer install --no-dev --optimize-autoloader --no-progress --no-suggest
|
||||||
|
|
||||||
# Build the actual image
|
# Build the actual image
|
||||||
FROM php
|
FROM php:7.1
|
||||||
|
|
||||||
ENV LC_ALL C.UTF-8
|
ENV LC_ALL C.UTF-8
|
||||||
WORKDIR /resume
|
WORKDIR /resume
|
||||||
|
|
Loading…
Reference in New Issue