1
0
Fork 0

chore(Dockerfile): apt packages order

This commit is contained in:
Vojtěch Mareš 2023-01-16 16:29:35 +01:00
parent 78e42f59a9
commit 98d73f01bf
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -2,9 +2,10 @@ FROM ubuntu:22.04 as base
RUN apt update && apt -y install \ RUN apt update && apt -y install \
software-properties-common \ software-properties-common \
curl apt-transport-https \ apt-transport-https \
ca-certificates \ ca-certificates \
gnupg gnupg \
curl
# Add Ondrej Sury's PPA for PHP # Add Ondrej Sury's PPA for PHP
RUN LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php RUN LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php
@ -24,8 +25,8 @@ RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt -y install \
php8.1-fpm \ php8.1-fpm \
php8.1-curl \ php8.1-curl \
php8.1-zip \ php8.1-zip \
tar \
unzip \ unzip \
tar \
git git
RUN rm -rf /var/lib/apt && \ RUN rm -rf /var/lib/apt && \