Skip to content

Commit 89d0040

Browse files
committed
Remove 2.4 (EOL)
1 parent 42313d5 commit 89d0040

6 files changed

Lines changed: 3 additions & 257 deletions

File tree

2.4/Dockerfile

Lines changed: 0 additions & 110 deletions
This file was deleted.

2.4/alpine/Dockerfile

Lines changed: 0 additions & 103 deletions
This file was deleted.

2.4/alpine/docker-entrypoint.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

2.4/docker-entrypoint.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

Dockerfile.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ ENV HAPROXY_SHA256 {{ .sha256 }}
6262
# Since 5.4 is supported on haproxy, better use it now, but only for
6363
# newer versions since there could be some minor incompatibilities
6464
# for existing scripts: https://www.lua.org/manual/5.4/manual.html#8
65-
if env.version | IN("2.4", "2.6", "2.8") then
65+
if env.version | IN("2.6", "2.8") then
6666
"5.3"
6767
else
6868
"5.4"
@@ -121,7 +121,7 @@ RUN set -eux; \
121121
USE_PROMEX=1 \
122122
# https://github.com/haproxy/haproxy/blob/a203ce685464988afbd92c8a376fcafae9bab5b5/INSTALL#L368-L373
123123
USE_PTHREAD_EMULATION=1 \
124-
{{ if env.version | IN("2.4", "2.6", "2.8", "3.0") then "" else ( -}}
124+
{{ if env.version | IN("2.6", "2.8", "3.0") then "" else ( -}}
125125
# https://www.haproxy.com/blog/announcing-haproxy-3-2#quic-protocol
126126
# [in 3.2] QUIC TLS API was ported to OpenSSL 3.5
127127
# Openssl 3.5+ is available on Debian Trixie and Alpine 3.22 and newer
@@ -185,7 +185,7 @@ ENTRYPOINT ["docker-entrypoint.sh"]
185185

186186
USER haproxy
187187

188-
{{ if env.version | IN("2.4", "2.6") then ( -}}
188+
{{ if env.version | IN("2.6") then ( -}}
189189
# no WORKDIR for backwards compatibility (to try to avoid breaking existing users)
190190
{{ ) else ( -}}
191191
# https://github.com/docker-library/haproxy/issues/200

versions.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
{
2-
"2.4": {
3-
"alpine": "3.24",
4-
"debian": "trixie-slim",
5-
"sha256": "64e6e8b435498bac034113df2d9fd60bfef5d0ea3f57fa2d122e96f0ae1d871b",
6-
"url": "https://www.haproxy.org/download/2.4/src/haproxy-2.4.36.tar.gz",
7-
"version": "2.4.36"
8-
},
92
"2.6": {
103
"alpine": "3.24",
114
"debian": "trixie-slim",

0 commit comments

Comments
 (0)