Pin Docker image versions

Resolves https://github.com/there4/markdown-resume/issues/97

Thanks @emcode
This commit is contained in:
Benedikt Franke 2022-03-18 10:34:35 +01:00
parent e5f1703068
commit b17bc8db68
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# Utilize multi-stage build to keep image size down
FROM composer as composer
FROM composer:2.0.4 as composer
COPY composer.* ./
RUN composer install --no-dev --optimize-autoloader --no-progress --no-suggest
# Build the actual image
FROM php
FROM php:7.1
ENV LC_ALL C.UTF-8
WORKDIR /resume