MAPG-243 fixup! MAPG-243 install git in Dockerfile-test
Some checks failed
mapguesser/pipeline/pr-develop There was a failure building this commit

This commit is contained in:
Bence Pőcze 2023-04-07 20:47:41 +02:00
parent 7114248f70
commit 0e1280cdd0
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

@ -1,4 +1,11 @@
FROM php:7.4.7-cli-buster
FROM ubuntu:focal
RUN apt-get update && apt-get install -y git unzip
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
ENV DEBIAN_FRONTEND noninteractive
# Install PHP and further necessary packages
RUN apt update --fix-missing
RUN apt install -y git unzip php7.4-cli
# Install Composer
COPY scripts/install-composer.sh install-composer.sh
RUN ./install-composer.sh