Skip to content

Commit f1c37a3

Browse files
authored
Update HAProxy version to latest LTS (#205)
* Update HAProxy repository to keep up with Debian version of postgres image Signed-off-by: Sora Morimoto <sora@morimoto.io> * Update HAProxy version to latest LTS Signed-off-by: Sora Morimoto <sora@morimoto.io> --------- Signed-off-by: Sora Morimoto <sora@morimoto.io>
1 parent 90f7fb2 commit f1c37a3

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ENV PGDATA=/data/postgresql
2222
ARG VERSION
2323
ARG PG_MAJOR_VERSION
2424
ARG POSTGIS_MAJOR=3
25-
ARG HAPROXY_VERSION=2.7
25+
ARG HAPROXY_VERSION=2.8
2626

2727
LABEL fly.app_role=postgres_cluster
2828
LABEL fly.version=${VERSION}
@@ -40,11 +40,11 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
4040

4141
# Haproxy
4242
RUN curl https://haproxy.debian.net/bernat.debian.org.gpg \
43-
| gpg --dearmor > /usr/share/keyrings/haproxy.debian.net.gpg
43+
| gpg --dearmor > /usr/share/keyrings/haproxy.debian.net.gpg
4444

4545
RUN echo deb "[signed-by=/usr/share/keyrings/haproxy.debian.net.gpg]" \
46-
http://haproxy.debian.net bullseye-backports-${HAPROXY_VERSION} main \
47-
> /etc/apt/sources.list.d/haproxy.list
46+
http://haproxy.debian.net bookworm-backports-${HAPROXY_VERSION} main \
47+
> /etc/apt/sources.list.d/haproxy.list
4848

4949
RUN apt-get update && apt-get install --no-install-recommends -y \
5050
haproxy=$HAPROXY_VERSION.\* \

Dockerfile-timescaledb

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ENV PGDATA=/data/postgresql
2323
ARG VERSION
2424
ARG PG_MAJOR_VERSION
2525
ARG POSTGIS_MAJOR=3
26-
ARG HAPROXY_VERSION=2.7
26+
ARG HAPROXY_VERSION=2.8
2727

2828
LABEL fly.app_role=postgres_cluster
2929
LABEL fly.version=${VERSION}
@@ -47,11 +47,11 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
4747

4848
# Haproxy
4949
RUN curl https://haproxy.debian.net/bernat.debian.org.gpg \
50-
| gpg --dearmor > /usr/share/keyrings/haproxy.debian.net.gpg
50+
| gpg --dearmor > /usr/share/keyrings/haproxy.debian.net.gpg
5151

5252
RUN echo deb "[signed-by=/usr/share/keyrings/haproxy.debian.net.gpg]" \
53-
http://haproxy.debian.net bullseye-backports-${HAPROXY_VERSION} main \
54-
> /etc/apt/sources.list.d/haproxy.list
53+
http://haproxy.debian.net bookworm-backports-${HAPROXY_VERSION} main \
54+
> /etc/apt/sources.list.d/haproxy.list
5555

5656
RUN apt-get update && apt-get install --no-install-recommends -y \
5757
haproxy=$HAPROXY_VERSION.\* \

0 commit comments

Comments
 (0)