Skip to content

Commit

Permalink
Automated commit triggered by 2.6.17 release(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkorunic committed May 29, 2024
1 parent 794fb9a commit a702a2a
Show file tree
Hide file tree
Showing 16 changed files with 45 additions and 50 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker_auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
env:
DOCKER_PLATFORMS: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
DOCKER_IMAGE: haproxytech/haproxy-alpine-quic
STABLE_BRANCH: "2.9"
STABLE_BRANCH: "3.0"
steps:
- name: Login to Docker Hub
id: login_docker
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
packages: write
strategy:
matrix:
branch: ["2.6", "2.7", "2.8", "2.9", "3.0"]
branch: ["2.6", "2.8", "2.9", "3.0", "3.1"]
env:
DOCKER_PLATFORMS: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64
DOCKER_IMAGE: haproxytech/haproxy-alpine-quic
STABLE_BRANCH: "2.9"
STABLE_BRANCH: "3.0"
steps:
- name: Login to Docker Hub
id: login_docker
Expand Down
9 changes: 4 additions & 5 deletions 2.6/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:alpine3.18 AS dataplaneapi-builder
FROM golang:alpine3.20 AS dataplaneapi-builder

ENV DATAPLANE_MINOR 2.9.3
ENV DATAPLANE_URL https://github.com/haproxytech/dataplaneapi.git
Expand All @@ -9,10 +9,9 @@ RUN apk add --no-cache ca-certificates git make && \
git checkout "v${DATAPLANE_MINOR}" && \
make build && cp build/dataplaneapi /dataplaneapi

FROM alpine:3.18 AS openssl-builder
FROM alpine:3.20 AS openssl-builder

ENV OPENSSL_SHA256 1651412ec136a693fcc84c77df664ca0dc0495eab2785afa2c7ba064a00fb1b6
ENV OPENSSL_URL https://github.com/quictls/openssl/archive/refs/tags/openssl-3.1.4-quic1.tar.gz
ENV OPENSSL_URL https://github.com/quictls/openssl/archive/refs/tags/openssl-3.1.5-quic1.tar.gz

RUN apk add --no-cache curl build-base make autoconf automake gcc libc-dev linux-headers && \
curl -sfSL "${OPENSSL_URL}" -o openssl.tar.gz && \
Expand All @@ -25,7 +24,7 @@ RUN apk add --no-cache curl build-base make autoconf automake gcc libc-dev linux
make install && \
rm -rf /tmp/openssl

FROM alpine:3.18
FROM alpine:3.20

MAINTAINER Dinko Korunic <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion 2.6/haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ defaults
# user admin insecure-password mypassword
#
# program api
# 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
# 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
# no option start-on-reload

#---------------------------------------------------------------------
Expand Down
11 changes: 5 additions & 6 deletions 2.8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:alpine3.18 AS dataplaneapi-builder
FROM golang:alpine3.20 AS dataplaneapi-builder

ENV DATAPLANE_MINOR 2.9.3
ENV DATAPLANE_URL https://github.com/haproxytech/dataplaneapi.git
Expand All @@ -9,10 +9,9 @@ RUN apk add --no-cache ca-certificates git make && \
git checkout "v${DATAPLANE_MINOR}" && \
make build && cp build/dataplaneapi /dataplaneapi

FROM alpine:3.18 AS openssl-builder
FROM alpine:3.20 AS openssl-builder

ENV OPENSSL_SHA256 1651412ec136a693fcc84c77df664ca0dc0495eab2785afa2c7ba064a00fb1b6
ENV OPENSSL_URL https://github.com/quictls/openssl/archive/refs/tags/openssl-3.1.4-quic1.tar.gz
ENV OPENSSL_URL https://github.com/quictls/openssl/archive/refs/tags/openssl-3.1.5-quic1.tar.gz

RUN apk add --no-cache curl build-base make autoconf automake gcc libc-dev linux-headers && \
curl -sfSL "${OPENSSL_URL}" -o openssl.tar.gz && \
Expand All @@ -25,7 +24,7 @@ RUN apk add --no-cache curl build-base make autoconf automake gcc libc-dev linux
make install && \
rm -rf /tmp/openssl

FROM alpine:3.18
FROM alpine:3.20

MAINTAINER Dinko Korunic <[email protected]>

Expand All @@ -36,7 +35,7 @@ LABEL Version 2.8.9
LABEL RUN /usr/bin/docker -d IMAGE

ENV HAPROXY_BRANCH 2.8
ENV HAPROXY_MINOR 2.8.9
ENV HAPROXY_MINOR 2.8.9-old
ENV HAPROXY_SHA256 7a821478f36f847607f51a51e80f4f890c37af4811d60438e7f63783f67592ff
ENV HAPROXY_SRC_URL http://www.haproxy.org/download

Expand Down
2 changes: 1 addition & 1 deletion 2.8/haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ defaults
# user admin insecure-password mypassword
#
# program api
# 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
# 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
# no option start-on-reload

#---------------------------------------------------------------------
Expand Down
11 changes: 5 additions & 6 deletions 2.9/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:alpine3.18 AS dataplaneapi-builder
FROM golang:alpine3.20 AS dataplaneapi-builder

ENV DATAPLANE_MINOR 2.9.3
ENV DATAPLANE_URL https://github.com/haproxytech/dataplaneapi.git
Expand All @@ -9,10 +9,9 @@ RUN apk add --no-cache ca-certificates git make && \
git checkout "v${DATAPLANE_MINOR}" && \
make build && cp build/dataplaneapi /dataplaneapi

FROM alpine:3.18 AS openssl-builder
FROM alpine:3.20 AS openssl-builder

ENV OPENSSL_SHA256 1651412ec136a693fcc84c77df664ca0dc0495eab2785afa2c7ba064a00fb1b6
ENV OPENSSL_URL https://github.com/quictls/openssl/archive/refs/tags/openssl-3.1.4-quic1.tar.gz
ENV OPENSSL_URL https://github.com/quictls/openssl/archive/refs/tags/openssl-3.1.5-quic1.tar.gz

RUN apk add --no-cache curl build-base make autoconf automake gcc libc-dev linux-headers && \
curl -sfSL "${OPENSSL_URL}" -o openssl.tar.gz && \
Expand All @@ -25,7 +24,7 @@ RUN apk add --no-cache curl build-base make autoconf automake gcc libc-dev linux
make install && \
rm -rf /tmp/openssl

FROM alpine:3.18
FROM alpine:3.20

MAINTAINER Dinko Korunic <[email protected]>

Expand All @@ -36,7 +35,7 @@ LABEL Version 2.9.7
LABEL RUN /usr/bin/docker -d IMAGE

ENV HAPROXY_BRANCH 2.9
ENV HAPROXY_MINOR 2.9.7
ENV HAPROXY_MINOR 2.9.7-old
ENV HAPROXY_SHA256 d1a0a56f008a8d2f007bc0c37df6b2952520d1f4dde33b8d3802710e5158c131
ENV HAPROXY_SRC_URL http://www.haproxy.org/download

Expand Down
2 changes: 1 addition & 1 deletion 2.9/haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ defaults
# user admin insecure-password mypassword
#
# program api
# 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
# 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
# no option start-on-reload

#---------------------------------------------------------------------
Expand Down
13 changes: 6 additions & 7 deletions 3.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:alpine3.18 AS dataplaneapi-builder
FROM golang:alpine3.20 AS dataplaneapi-builder

ENV DATAPLANE_MINOR 2.9.3
ENV DATAPLANE_URL https://github.com/haproxytech/dataplaneapi.git
Expand All @@ -9,10 +9,9 @@ RUN apk add --no-cache ca-certificates git make && \
git checkout "v${DATAPLANE_MINOR}" && \
make build && cp build/dataplaneapi /dataplaneapi

FROM alpine:3.18 AS openssl-builder
FROM alpine:3.20 AS openssl-builder

ENV OPENSSL_SHA256 1651412ec136a693fcc84c77df664ca0dc0495eab2785afa2c7ba064a00fb1b6
ENV OPENSSL_URL https://github.com/quictls/openssl/archive/refs/tags/openssl-3.1.4-quic1.tar.gz
ENV OPENSSL_URL https://github.com/quictls/openssl/archive/refs/tags/openssl-3.1.5-quic1.tar.gz

RUN apk add --no-cache curl build-base make autoconf automake gcc libc-dev linux-headers && \
curl -sfSL "${OPENSSL_URL}" -o openssl.tar.gz && \
Expand All @@ -25,7 +24,7 @@ RUN apk add --no-cache curl build-base make autoconf automake gcc libc-dev linux
make install && \
rm -rf /tmp/openssl

FROM alpine:3.18
FROM alpine:3.20

MAINTAINER Dinko Korunic <[email protected]>

Expand All @@ -36,7 +35,7 @@ LABEL Version 3.0.0
LABEL RUN /usr/bin/docker -d IMAGE

ENV HAPROXY_BRANCH 3.0
ENV HAPROXY_MINOR 3.0.0
ENV HAPROXY_MINOR 3.0.0-old
ENV HAPROXY_SHA256 5aad97416216d2cd9dd212eb674839c40cd387f60fbc4b13d7ea3f1e5664a814
ENV HAPROXY_SRC_URL http://www.haproxy.org/download

Expand All @@ -54,7 +53,7 @@ RUN apk add --no-cache ca-certificates && \
apk add --no-cache --virtual build-deps gcc libc-dev \
linux-headers lua5.4-dev make openssl openssl-dev pcre2-dev tar \
zlib-dev curl shadow && \
curl -sfSL "${HAPROXY_SRC_URL}/${HAPROXY_BRANCH}/src/devel/haproxy-${HAPROXY_MINOR}.tar.gz" -o haproxy.tar.gz && \
curl -sfSL "${HAPROXY_SRC_URL}/${HAPROXY_BRANCH}/src/haproxy-${HAPROXY_MINOR}.tar.gz" -o haproxy.tar.gz && \
echo "$HAPROXY_SHA256 *haproxy.tar.gz" | sha256sum -c - && \
groupadd "$HAPROXY_GID" && \
useradd -g "$HAPROXY_GID" "$HAPROXY_UID" && \
Expand Down
2 changes: 1 addition & 1 deletion 3.0/haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ defaults
# user admin insecure-password mypassword
#
# program api
# 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
# 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
# no option start-on-reload

#---------------------------------------------------------------------
Expand Down
19 changes: 9 additions & 10 deletions 2.7/Dockerfile → 3.1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:alpine3.18 AS dataplaneapi-builder
FROM golang:alpine3.20 AS dataplaneapi-builder

ENV DATAPLANE_MINOR 2.9.3
ENV DATAPLANE_URL https://github.com/haproxytech/dataplaneapi.git
Expand All @@ -9,10 +9,9 @@ RUN apk add --no-cache ca-certificates git make && \
git checkout "v${DATAPLANE_MINOR}" && \
make build && cp build/dataplaneapi /dataplaneapi

FROM alpine:3.18 AS openssl-builder
FROM alpine:3.20 AS openssl-builder

ENV OPENSSL_SHA256 1651412ec136a693fcc84c77df664ca0dc0495eab2785afa2c7ba064a00fb1b6
ENV OPENSSL_URL https://github.com/quictls/openssl/archive/refs/tags/openssl-3.1.4-quic1.tar.gz
ENV OPENSSL_URL https://github.com/quictls/openssl/archive/refs/tags/openssl-3.1.5-quic1.tar.gz

RUN apk add --no-cache curl build-base make autoconf automake gcc libc-dev linux-headers && \
curl -sfSL "${OPENSSL_URL}" -o openssl.tar.gz && \
Expand All @@ -25,19 +24,19 @@ RUN apk add --no-cache curl build-base make autoconf automake gcc libc-dev linux
make install && \
rm -rf /tmp/openssl

FROM alpine:3.18
FROM alpine:3.20

MAINTAINER Dinko Korunic <[email protected]>

LABEL Name HAProxy
LABEL Release Community Edition
LABEL Vendor HAProxy
LABEL Version 2.7.12
LABEL Version 3.1.0
LABEL RUN /usr/bin/docker -d IMAGE

ENV HAPROXY_BRANCH 2.7
ENV HAPROXY_MINOR 2.7.12
ENV HAPROXY_SHA256 471d42524049b37b5fc79093ac26911a838c2c67a18bd2f8d01efd48a83a362c
ENV HAPROXY_BRANCH 3.1
ENV HAPROXY_MINOR 3.1.0-old
ENV HAPROXY_SHA256 5aad97416216d2cd9dd212eb674839c40cd387f60fbc4b13d7ea3f1e5664a814
ENV HAPROXY_SRC_URL http://www.haproxy.org/download

ENV DATAPLANE_MINOR 2.9.3
Expand All @@ -54,7 +53,7 @@ RUN apk add --no-cache ca-certificates && \
apk add --no-cache --virtual build-deps gcc libc-dev \
linux-headers lua5.4-dev make openssl openssl-dev pcre2-dev tar \
zlib-dev curl shadow && \
curl -sfSL "${HAPROXY_SRC_URL}/${HAPROXY_BRANCH}/src/haproxy-${HAPROXY_MINOR}.tar.gz" -o haproxy.tar.gz && \
curl -sfSL "${HAPROXY_SRC_URL}/${HAPROXY_BRANCH}/src/devel/haproxy-${HAPROXY_MINOR}.tar.gz" -o haproxy.tar.gz && \
echo "$HAPROXY_SHA256 *haproxy.tar.gz" | sha256sum -c - && \
groupadd "$HAPROXY_GID" && \
useradd -g "$HAPROXY_GID" "$HAPROXY_UID" && \
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions 2.7/haproxy.cfg → 3.1/haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Example configuration for a possible web application. See the
# full configuration options online.
#
# https://www.haproxy.org/download/2.7/doc/configuration.txt
# https://cbonte.github.io/haproxy-dconv/2.7/configuration.html
# https://www.haproxy.org/download/3.1/doc/configuration.txt
# https://cbonte.github.io/haproxy-dconv/3.1/configuration.html
#
#---------------------------------------------------------------------

Expand Down Expand Up @@ -67,7 +67,7 @@ defaults
# user admin insecure-password mypassword
#
# program api
# 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
# 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
# no option start-on-reload

#---------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ This image is being shipped with a trivial sample configuration and for any real
## Create a `Dockerfile`

```dockerfile
FROM haproxytech/haproxy-alpine-quic:2.7
FROM haproxytech/haproxy-alpine-quic:3.0
COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
```

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

```console
$ docker run -d --name my-running-haproxy -v /path/to/etc/haproxy:/usr/local/etc/haproxy:ro haproxytech/haproxy-alpine-quic:2.7
$ docker run -d --name my-running-haproxy -v /path/to/etc/haproxy:/usr/local/etc/haproxy:ro haproxytech/haproxy-alpine-quic:3.0
```

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`.
Expand Down
4 changes: 2 additions & 2 deletions README_short.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ This image is being shipped with a trivial sample configuration and for any real
## Create a `Dockerfile`

```dockerfile
FROM haproxytech/haproxy-alpine-quic:2.7
FROM haproxytech/haproxy-alpine-quic:3.0
COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
```

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

```console
$ docker run -d --name my-running-haproxy -v /path/to/etc/haproxy:/usr/local/etc/haproxy:ro haproxytech/haproxy-alpine-quic:2.7
$ docker run -d --name my-running-haproxy -v /path/to/etc/haproxy:/usr/local/etc/haproxy:ro haproxytech/haproxy-alpine-quic:3.0
```

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`.
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

DOCKER_TAG="haproxytech/haproxy-alpine-quic"
HAPROXY_GITHUB_URL="https://github.com/haproxytech/haproxy-docker-alpine-quic/blob/main"
HAPROXY_BRANCHES="2.6 2.7 2.8 2.9 3.0"
HAPROXY_CURRENT_BRANCH="2.9"
HAPROXY_BRANCHES="2.6 2.8 2.9 3.0 3.1"
HAPROXY_CURRENT_BRANCH="3.0"
PUSH="no"
HAPROXY_UPDATED=""

Expand Down

0 comments on commit a702a2a

Please sign in to comment.