Skip to content

Commit 93cbb6e

Browse files
committed
fix: Use bullseye based images
1 parent 2c26d4b commit 93cbb6e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Dockerfile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
ARG BASE_TAG
2-
FROM postgres:${BASE_TAG} AS builder
2+
FROM postgres:${BASE_TAG}-bullseye AS builder
33

4-
RUN echo "deb http://deb.debian.org/debian stretch-backports main contrib non-free" > /etc/apt/sources.list.d/backport.list && \
5-
apt-get update && \
4+
RUN apt-get update && \
65
apt-get install -y unzip build-essential git wget libbrotli-dev
76

87
# Install Golang
@@ -34,7 +33,7 @@ RUN ./main/pg/wal-g --version && \
3433
cp ./main/pg/wal-g /wal-g-v2.0.1
3534

3635
ARG BASE_TAG
37-
FROM postgres:${BASE_TAG}
36+
FROM postgres:${BASE_TAG}-bullseye
3837

3938
ARG POSTGIS_VERSIONS
4039
ENV DEBIAN_FRONTEND=noninteractive \
@@ -43,8 +42,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
4342
RUN cp /usr/share/i18n/SUPPORTED /etc/locale.gen && \
4443
locale-gen
4544

46-
RUN echo "deb http://deb.debian.org/debian stretch-backports main contrib non-free" > /etc/apt/sources.list.d/backport.list && \
47-
apt-get update && apt-get upgrade -y && \
45+
RUN apt-get update && apt-get upgrade -y && \
4846
apt-get install -y libbrotli-dev && \
4947
echo "Postgis versions '$POSTGIS_VERSIONS'" && \
5048
for POSTGIS_VERSION in ${POSTGIS_VERSIONS}; do \

0 commit comments

Comments
 (0)