Skip to content

Commit

Permalink
fix(certs): run apt upgrade to install latests certs
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicGD committed Oct 18, 2021
1 parent 4c7f173 commit 99a2fd6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM php:${PHP_VERSION}-fpm as build

ENV LANG=C.UTF-8

RUN apt update && apt install -y gnupg
RUN apt update && apt upgrade -y && apt install -y gnupg

RUN echo deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main > /etc/apt/sources.list.d/pgdg.list
RUN curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
Expand All @@ -14,8 +14,9 @@ RUN PHP_VERSION=${PHP_VERSION} bash /install.sh

FROM php:${PHP_VERSION}-fpm as base

RUN apt-get update \
&& apt-get install -y bash-completion wget zip msmtp \
RUN apt update \
&& apt upgrade -y \
&& apt install -y bash-completion wget zip msmtp \
libpng16-16 \
libjpeg62-turbo \
libfreetype6 \
Expand Down

0 comments on commit 99a2fd6

Please sign in to comment.