Skip to content

Commit 1123045

Browse files
committed
Add 3.1 branch. Remove 2.5 and 2.7 branches. Upgrade to Noble Numbat.
1 parent afbf5b8 commit 1123045

20 files changed

+33
-32
lines changed

.github/workflows/docker_auto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
env:
1414
DOCKER_PLATFORMS: linux/amd64,linux/arm/v7,linux/arm64
1515
DOCKER_IMAGE: haproxytech/haproxy-ubuntu
16-
STABLE_BRANCH: "2.9"
16+
STABLE_BRANCH: "3.0"
1717
steps:
1818
- name: Login to Docker Hub
1919
id: login_docker

.github/workflows/docker_manual.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ jobs:
99
packages: write
1010
strategy:
1111
matrix:
12-
branch: ["2.0", "2.2", "2.4", "2.5", "2.6", "2.7", "2.8", "2.9", "3.0"]
12+
branch: ["2.0", "2.2", "2.4", "2.6", "2.8", "2.9", "3.0", "3.1"]
1313
env:
1414
DOCKER_PLATFORMS: linux/amd64,linux/arm/v7,linux/arm64
1515
DOCKER_IMAGE: haproxytech/haproxy-ubuntu
16-
STABLE_BRANCH: "2.9"
16+
STABLE_BRANCH: "3.0"
1717
steps:
1818
- name: Login to Docker Hub
1919
id: login_docker

2.0/haproxy.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ defaults
6767
# user admin insecure-password mypassword
6868
#
6969
# program api
70-
# command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
70+
# command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /usr/local/etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
7171
# no option start-on-reload
7272

7373
#---------------------------------------------------------------------

2.2/haproxy.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ defaults
6767
# user admin insecure-password mypassword
6868
#
6969
# program api
70-
# command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
70+
# command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /usr/local/etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
7171
# no option start-on-reload
7272

7373
#---------------------------------------------------------------------

2.4/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apk add --no-cache ca-certificates git make && \
99
git checkout "v${DATAPLANE_MINOR}" && \
1010
make build && cp build/dataplaneapi /dataplaneapi
1111

12-
FROM ubuntu:jammy
12+
FROM ubuntu:noble
1313

1414
MAINTAINER Dinko Korunic <[email protected]>
1515

2.4/haproxy.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ defaults
6767
# user admin insecure-password mypassword
6868
#
6969
# program api
70-
# command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
70+
# command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /usr/local/etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
7171
# no option start-on-reload
7272

7373
#---------------------------------------------------------------------

2.6/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apk add --no-cache ca-certificates git make && \
99
git checkout "v${DATAPLANE_MINOR}" && \
1010
make build && cp build/dataplaneapi /dataplaneapi
1111

12-
FROM ubuntu:jammy
12+
FROM ubuntu:noble
1313

1414
MAINTAINER Dinko Korunic <[email protected]>
1515

2.6/haproxy.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ defaults
6767
# user admin insecure-password mypassword
6868
#
6969
# program api
70-
# command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
70+
# command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /usr/local/etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
7171
# no option start-on-reload
7272

7373
#---------------------------------------------------------------------

2.8/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apk add --no-cache ca-certificates git make && \
99
git checkout "v${DATAPLANE_MINOR}" && \
1010
make build && cp build/dataplaneapi /dataplaneapi
1111

12-
FROM ubuntu:jammy
12+
FROM ubuntu:noble
1313

1414
MAINTAINER Dinko Korunic <[email protected]>
1515

2.8/haproxy.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ defaults
6767
# user admin insecure-password mypassword
6868
#
6969
# program api
70-
# command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
70+
# command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /usr/local/etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
7171
# no option start-on-reload
7272

7373
#---------------------------------------------------------------------

2.9/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apk add --no-cache ca-certificates git make && \
99
git checkout "v${DATAPLANE_MINOR}" && \
1010
make build && cp build/dataplaneapi /dataplaneapi
1111

12-
FROM ubuntu:jammy
12+
FROM ubuntu:noble
1313

1414
MAINTAINER Dinko Korunic <[email protected]>
1515

2.9/haproxy.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ defaults
6767
# user admin insecure-password mypassword
6868
#
6969
# program api
70-
# command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
70+
# command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /usr/local/etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
7171
# no option start-on-reload
7272

7373
#---------------------------------------------------------------------

3.0/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN apk add --no-cache ca-certificates git make && \
99
git checkout "v${DATAPLANE_MINOR}" && \
1010
make build && cp build/dataplaneapi /dataplaneapi
1111

12-
FROM ubuntu:jammy
12+
FROM ubuntu:noble
1313

1414
MAINTAINER Dinko Korunic <[email protected]>
1515

@@ -20,7 +20,7 @@ LABEL Version 3.0.0
2020
LABEL RUN /usr/bin/docker -d IMAGE
2121

2222
ENV HAPROXY_BRANCH 3.0
23-
ENV HAPROXY_MINOR 3.0.0
23+
ENV HAPROXY_MINOR 3.0.0-dev
2424
ENV HAPROXY_SHA256 5aad97416216d2cd9dd212eb674839c40cd387f60fbc4b13d7ea3f1e5664a814
2525
ENV HAPROXY_SRC_URL http://www.haproxy.org/download
2626

@@ -34,7 +34,7 @@ COPY --from=builder /dataplaneapi /usr/local/bin/dataplaneapi
3434
RUN apt-get update && \
3535
apt-get install -y --no-install-recommends procps libssl3 zlib1g "libpcre2-*" liblua5.4-0 libatomic1 tar curl socat ca-certificates libjemalloc2 && \
3636
apt-get install -y --no-install-recommends gcc make libc6-dev libssl-dev libpcre3-dev zlib1g-dev liblua5.4-dev libjemalloc-dev && \
37-
curl -sfSL "${HAPROXY_SRC_URL}/${HAPROXY_BRANCH}/src/devel/haproxy-${HAPROXY_MINOR}.tar.gz" -o haproxy.tar.gz && \
37+
curl -sfSL "${HAPROXY_SRC_URL}/${HAPROXY_BRANCH}/src/haproxy-${HAPROXY_MINOR}.tar.gz" -o haproxy.tar.gz && \
3838
echo "$HAPROXY_SHA256 *haproxy.tar.gz" | sha256sum -c - && \
3939
groupadd "$HAPROXY_GID" && \
4040
useradd -g "$HAPROXY_GID" "$HAPROXY_UID" && \

3.0/haproxy.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ defaults
6767
# user admin insecure-password mypassword
6868
#
6969
# program api
70-
# command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
70+
# command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /usr/local/etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
7171
# no option start-on-reload
7272

7373
#---------------------------------------------------------------------

2.7/Dockerfile renamed to 3.1/Dockerfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ RUN apk add --no-cache ca-certificates git make && \
99
git checkout "v${DATAPLANE_MINOR}" && \
1010
make build && cp build/dataplaneapi /dataplaneapi
1111

12-
FROM ubuntu:jammy
12+
FROM ubuntu:noble
1313

1414
MAINTAINER Dinko Korunic <[email protected]>
1515

1616
LABEL Name HAProxy
1717
LABEL Release Community Edition
1818
LABEL Vendor HAProxy
19-
LABEL Version 2.7.12
19+
LABEL Version 3.1.0
2020
LABEL RUN /usr/bin/docker -d IMAGE
2121

22-
ENV HAPROXY_BRANCH 2.7
23-
ENV HAPROXY_MINOR 2.7.12
24-
ENV HAPROXY_SHA256 471d42524049b37b5fc79093ac26911a838c2c67a18bd2f8d01efd48a83a362c
22+
ENV HAPROXY_BRANCH 3.1
23+
ENV HAPROXY_MINOR 3.1.0-old
24+
ENV HAPROXY_SHA256 5aad97416216d2cd9dd212eb674839c40cd387f60fbc4b13d7ea3f1e5664a814
2525
ENV HAPROXY_SRC_URL http://www.haproxy.org/download
2626

2727
ENV HAPROXY_UID haproxy
@@ -34,7 +34,7 @@ COPY --from=builder /dataplaneapi /usr/local/bin/dataplaneapi
3434
RUN apt-get update && \
3535
apt-get install -y --no-install-recommends procps libssl3 zlib1g "libpcre2-*" liblua5.4-0 libatomic1 tar curl socat ca-certificates libjemalloc2 && \
3636
apt-get install -y --no-install-recommends gcc make libc6-dev libssl-dev libpcre3-dev zlib1g-dev liblua5.4-dev libjemalloc-dev && \
37-
curl -sfSL "${HAPROXY_SRC_URL}/${HAPROXY_BRANCH}/src/haproxy-${HAPROXY_MINOR}.tar.gz" -o haproxy.tar.gz && \
37+
curl -sfSL "${HAPROXY_SRC_URL}/${HAPROXY_BRANCH}/src/devel/haproxy-${HAPROXY_MINOR}.tar.gz" -o haproxy.tar.gz && \
3838
echo "$HAPROXY_SHA256 *haproxy.tar.gz" | sha256sum -c - && \
3939
groupadd "$HAPROXY_GID" && \
4040
useradd -g "$HAPROXY_GID" "$HAPROXY_UID" && \
@@ -45,6 +45,7 @@ RUN apt-get update && \
4545
USE_TFO=1 USE_LINUX_TPROXY=1 USE_LUA=1 USE_GETADDRINFO=1 \
4646
USE_PROMEX=1 USE_SLZ=1 \
4747
USE_OPENSSL=1 USE_PTHREAD_EMULATION=1 \
48+
USE_QUIC=1 USE_QUIC_OPENSSL_COMPAT=1 \
4849
ADDLIB=-ljemalloc \
4950
all && \
5051
make -C /tmp/haproxy TARGET=linux-glibc install-bin install-man && \
File renamed without changes.

2.7/haproxy.cfg renamed to 3.1/haproxy.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# Example configuration for a possible web application. See the
33
# full configuration options online.
44
#
5-
# https://www.haproxy.org/download/2.7/doc/configuration.txt
6-
# https://cbonte.github.io/haproxy-dconv/2.7/configuration.html
5+
# https://www.haproxy.org/download/3.1/doc/configuration.txt
6+
# https://cbonte.github.io/haproxy-dconv/3.1/configuration.html
77
#
88
#---------------------------------------------------------------------
99

@@ -67,7 +67,7 @@ defaults
6767
# user admin insecure-password mypassword
6868
#
6969
# program api
70-
# command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
70+
# command /usr/bin/dataplaneapi --host 0.0.0.0 --port 5555 --haproxy-bin /usr/sbin/haproxy --config-file /usr/local/etc/haproxy/haproxy.cfg --reload-cmd "kill -SIGUSR2 1" --restart-cmd "kill -SIGUSR2 1" --reload-delay 5 --userlist haproxy-dataplaneapi
7171
# no option start-on-reload
7272

7373
#---------------------------------------------------------------------

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ This image is being shipped with a trivial sample configuration and for any real
5656
## Create a `Dockerfile`
5757

5858
```dockerfile
59-
FROM haproxytech/haproxy-ubuntu:2.7
59+
FROM haproxytech/haproxy-ubuntu:3.0
6060
COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
6161
```
6262

@@ -83,7 +83,7 @@ You will also need to publish the ports your HAProxy is listening on to the host
8383
## Use volume for configuration persistency
8484

8585
```console
86-
$ docker run -d --name my-running-haproxy -v /path/to/etc/haproxy:/usr/local/etc/haproxy:ro haproxytech/haproxy-ubuntu:2.7
86+
$ docker run -d --name my-running-haproxy -v /path/to/etc/haproxy:/usr/local/etc/haproxy:ro haproxytech/haproxy-ubuntu:3.0
8787
```
8888

8989
Note that your host's `/path/to/etc/haproxy` folder should be populated with a file named `haproxy.cfg` as well as any other accompanying files local to `/etc/haproxy`.

README_short.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ This image is being shipped with a trivial sample configuration and for any real
4545
## Create a `Dockerfile`
4646

4747
```dockerfile
48-
FROM haproxytech/haproxy-ubuntu:2.7
48+
FROM haproxytech/haproxy-ubuntu:3.0
4949
COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
5050
```
5151

@@ -72,7 +72,7 @@ You will also need to publish the ports your HAProxy is listening on to the host
7272
## Use volume for configuration persistency
7373

7474
```console
75-
$ docker run -d --name my-running-haproxy -v /path/to/etc/haproxy:/usr/local/etc/haproxy:ro haproxytech/haproxy-ubuntu:2.7
75+
$ docker run -d --name my-running-haproxy -v /path/to/etc/haproxy:/usr/local/etc/haproxy:ro haproxytech/haproxy-ubuntu:3.0
7676
```
7777

7878
Note that your host's `/path/to/etc/haproxy` folder should be populated with a file named `haproxy.cfg` as well as any other accompanying files local to `/etc/haproxy`.

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
DOCKER_TAG="haproxytech/haproxy-ubuntu"
44
HAPROXY_GITHUB_URL="https://github.com/haproxytech/haproxy-docker-ubuntu/blob/main"
5-
HAPROXY_BRANCHES="2.0 2.2 2.4 2.6 2.7 2.8 2.9 3.0"
6-
HAPROXY_CURRENT_BRANCH="2.9"
5+
HAPROXY_BRANCHES="2.0 2.2 2.4 2.6 2.8 2.9 3.0 3.1"
6+
HAPROXY_CURRENT_BRANCH="3.0"
77
PUSH="no"
88
HAPROXY_UPDATED=""
99

0 commit comments

Comments
 (0)