Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions 2.6-rc/Dockerfile → 2.6/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions 2.6-rc/alpine/Dockerfile → 2.6/alpine/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
99 changes: 99 additions & 0 deletions 2.7-rc/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

92 changes: 92 additions & 0 deletions 2.7-rc/alpine/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions 2.7-rc/alpine/docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/sh
set -e

# first arg is `-f` or `--some-option`
if [ "${1#-}" != "$1" ]; then
set -- haproxy "$@"
fi

if [ "$1" = 'haproxy' ]; then
shift # "haproxy"
# if the user wants "haproxy", let's add a couple useful flags
# -W -- "master-worker mode" (similar to the old "haproxy-systemd-wrapper"; allows for reload via "SIGUSR2")
# -db -- disables background mode
set -- haproxy -W -db "$@"
fi

exec "$@"
17 changes: 17 additions & 0 deletions 2.7-rc/docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/sh
set -e

# first arg is `-f` or `--some-option`
if [ "${1#-}" != "$1" ]; then
set -- haproxy "$@"
fi

if [ "$1" = 'haproxy' ]; then
shift # "haproxy"
# if the user wants "haproxy", let's add a couple useful flags
# -W -- "master-worker mode" (similar to the old "haproxy-systemd-wrapper"; allows for reload via "SIGUSR2")
# -db -- disables background mode
set -- haproxy -W -db "$@"
fi

exec "$@"
5 changes: 2 additions & 3 deletions generate-stackbrew-library.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/usr/bin/env bash
set -Eeuo pipefail

# https://www.haproxy.org/#down ("LTS" vs "latest")
# https://www.haproxy.org/#last ("LTS" vs "latest")
declare -A aliases=(
[2.5]='latest'
[2.4]='lts'
[2.6]='lts latest'
)

self="$(basename "$BASH_SOURCE")"
Expand Down
15 changes: 11 additions & 4 deletions versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,18 @@
"url": "https://www.haproxy.org/download/2.5/src/haproxy-2.5.7.tar.gz",
"version": "2.5.7"
},
"2.6-rc": {
"2.6": {
"alpine": "3.16",
"debian": "bullseye-slim",
"sha256": "df21bb71333abb8ef75eadcf40ca4ded948c2f404b7b1af49fc6365ca191ca0a",
"url": "https://www.haproxy.org/download/2.6/src/devel/haproxy-2.6-dev12.tar.gz",
"version": "2.6-dev12"
"sha256": "90f8e608aacd513b0f542e0438fa12e7fb4622cf58bd4375f3fe0350146eaa59",
"url": "https://www.haproxy.org/download/2.6/src/haproxy-2.6.0.tar.gz",
"version": "2.6.0"
},
"2.7-rc": {
"alpine": "3.16",
"debian": "bullseye-slim",
"sha256": "75cfe3f3884cae05f93f0a91114b953de7aebba574c026e9d9106988fed34080",
"url": "https://www.haproxy.org/download/2.7/src/devel/haproxy-2.7-dev0.tar.gz",
"version": "2.7-dev0"
}
}