Skip to content

Commit

Permalink
Pin to postgresql 12.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Hobson committed Jul 14, 2023
1 parent b83ad3e commit 6b41c09
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion milmove-app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,15 @@ RUN set -ex && cd ~ \
&& : Add Yarn \
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& : Install postgresql repo \
&& sh -c 'echo "deb http://apt-archive.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg-archive main" > /etc/apt/sources.list.d/pgdg.list' \
&& curl -sSLf -o - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add \
&& apt-get -qq update \
&& : Install pinned postgresql packages \
&& apt-get -y install --no-install-recommends \
postgresql-client-12=12.13-1.pgdg20.04+1 \
&& : Install apt packages \
&& apt-get -qq -y install --no-install-recommends nodejs yarn entr postgresql-client \
&& apt-get -qq -y install --no-install-recommends nodejs yarn entr \
&& : Cleanup \
&& apt-get clean \
&& rm -vrf /var/lib/apt/lists/*
Expand Down

0 comments on commit 6b41c09

Please sign in to comment.