refactor(Dockerfile): squash layers (apt related)
This commit is contained in:
parent
98d73f01bf
commit
7ecb1de169
1 changed files with 2 additions and 3 deletions
|
|
@ -8,9 +8,8 @@ RUN apt update && apt -y install \
|
||||||
curl
|
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 \
|
||||||
|
&& apt update
|
||||||
RUN apt update
|
|
||||||
|
|
||||||
# Install PHP 8.1
|
# Install PHP 8.1
|
||||||
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt -y install \
|
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt -y install \
|
||||||
|
|
|
||||||
Reference in a new issue