Skip to content

Commit b795d9a

Browse files
committed
HAProxy built on Debian 9 is not supported by Debian 8
Signed-off-by: IceCodeNew <[email protected]>
1 parent 515167a commit b795d9a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

haproxy_debian_builder.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ RUN curl --retry 5 --retry-delay 10 --retry-max-time 60 -fsSL "https://git.hapro
5858
&& sed -E 's/@SBINDIR@/\/usr\/local\/sbin/g' 'admin/systemd/haproxy.service.in' > "/build_root/haproxy.service" \
5959
&& rm -rf -- "$dockerfile_workdir"
6060

61-
FROM quay.io/oopus/debian:oldoldstable-slim AS smoking-test-debian-oldoldstable
61+
FROM quay.io/oopus/debian:oldstable-slim AS smoking-test-debian-oldstable
6262
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
6363
ARG haproxy_latest_tag_name=2.2.4
6464
ARG jemalloc_latest_tag_name=5.2.1

release_haproxy_alpine.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RUN --mount=type=secret,id=GIT_AUTH_TOKEN,dst=/tmp/secret_token export GITHUB_TO
2525
&& git tag -d "v${haproxy_latest_tag_name}"; \
2626
git tag -a "v${haproxy_latest_tag_name}" -m "v${haproxy_latest_tag_name}" "$(git rev-parse --short origin/release)" \
2727
&& git push origin "v${haproxy_latest_tag_name}" \
28-
&& < <(echo 'The released deb packages had been tested on Ubuntu 16.04 & Debian 8.' && echo 'It is recommended to initiate a Systemd drop-in file for the haproxy that supports the sdnotify features of systemd, just issue command:' && echo '`mkdir -p "/etc/systemd/system/haproxy.service.d" && echo -e "[Service]\nRestartSec=6" > "/etc/systemd/system/haproxy.service.d/haproxy.conf"`' && echo 'For the haproxy that **DOES NOT** support the sdnotify features of systemd, issue command:' && echo '`mkdir -p "/etc/systemd/system/haproxy.service.d" && echo -e "[Service]\nExecStart=\nExecStart=/usr/local/sbin/haproxy -W -f $CONFIG -p $PIDFILE $EXTRAOPTS\nType=\nType=forking\nRestartSec=6" > "/etc/systemd/system/haproxy.service.d/haproxy.conf"`') \
28+
&& < <(echo 'The released deb packages had been tested on Ubuntu 18.04 & Debian 9.' && echo 'It is recommended to initiate a Systemd drop-in file for the haproxy that supports the sdnotify features of systemd, just issue command:' && echo '`mkdir -p "/etc/systemd/system/haproxy.service.d" && echo -e "[Service]\nRestartSec=6" > "/etc/systemd/system/haproxy.service.d/haproxy.conf"`' && echo 'For the haproxy that **DOES NOT** support the sdnotify features of systemd, issue command:' && echo '`mkdir -p "/etc/systemd/system/haproxy.service.d" && echo -e "[Service]\nExecStart=\nExecStart=/usr/local/sbin/haproxy -W -f $CONFIG -p $PIDFILE $EXTRAOPTS\nType=\nType=forking\nRestartSec=6" > "/etc/systemd/system/haproxy.service.d/haproxy.conf"`') \
2929
github-release release \
3030
--user cbdb-project \
3131
--repo haproxy_static \

release_haproxy_debian.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN --mount=type=secret,id=GIT_AUTH_TOKEN,dst=/tmp/secret_token export GITHUB_TO
2626
# && git tag -d "v${haproxy_latest_tag_name}"; \
2727
# git tag -a "v${haproxy_latest_tag_name}" -m "v${haproxy_latest_tag_name}" "$(git rev-parse --short origin/release)" \
2828
# && git push origin "v${haproxy_latest_tag_name}" \
29-
# && < <(echo 'The released deb packages had been tested on Ubuntu 16.04 & Debian 8.' && echo 'It is recommended to initiate a Systemd drop-in file for the haproxy that supports the sdnotify features of systemd, just issue command `mkdir -p "/etc/systemd/system/haproxy.service.d" && echo -e "[Service]\nRestartSec=6" > "/etc/systemd/system/haproxy.service.d/haproxy.conf"`' && echo 'For the haproxy that **DOES NOT** support the sdnotify features of systemd, issue command `mkdir -p "/etc/systemd/system/haproxy.service.d" && echo -e "[Service]\nExecStart=\nExecStart=/usr/local/sbin/haproxy -W -f $CONFIG -p $PIDFILE $EXTRAOPTS\nType=\nType=forking\nRestartSec=6" > "/etc/systemd/system/haproxy.service.d/haproxy.conf"`') \
29+
# && < <(echo 'The released deb packages had been tested on Ubuntu 18.04 & Debian 9.' && echo 'It is recommended to initiate a Systemd drop-in file for the haproxy that supports the sdnotify features of systemd, just issue command `mkdir -p "/etc/systemd/system/haproxy.service.d" && echo -e "[Service]\nRestartSec=6" > "/etc/systemd/system/haproxy.service.d/haproxy.conf"`' && echo 'For the haproxy that **DOES NOT** support the sdnotify features of systemd, issue command `mkdir -p "/etc/systemd/system/haproxy.service.d" && echo -e "[Service]\nExecStart=\nExecStart=/usr/local/sbin/haproxy -W -f $CONFIG -p $PIDFILE $EXTRAOPTS\nType=\nType=forking\nRestartSec=6" > "/etc/systemd/system/haproxy.service.d/haproxy.conf"`') \
3030
# github-release release \
3131
# --user cbdb-project \
3232
# --repo haproxy_static \

0 commit comments

Comments
 (0)