Skip to content

Commit 9081978

Browse files
authored
Merge pull request #126 from infosiftr/2.0.16
Update to 2.0.16
2 parents 6e4facd + c408159 commit 9081978

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

2.0/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# vim:set ft=dockerfile:
22
FROM debian:buster-slim
33

4-
ENV HAPROXY_VERSION 2.0.15
5-
ENV HAPROXY_URL https://www.haproxy.org/download/2.0/src/haproxy-2.0.15.tar.gz
6-
ENV HAPROXY_SHA256 6e21c6b92d4035ee006ef18e25f396d7e71552a6d3a1e075fa9fe59d89eaaeee
4+
ENV HAPROXY_VERSION 2.0.16
5+
ENV HAPROXY_URL https://www.haproxy.org/download/2.0/src/haproxy-2.0.16.tar.gz
6+
ENV HAPROXY_SHA256 8eda217f3bf82f7ad6353bfd0c2005c4ac2da6cdca0398cf98de0016cdb97385
77

88
# see https://sources.debian.net/src/haproxy/jessie/debian/rules/ for some helpful navigation of the possible "make" arguments
99
RUN set -x \

2.0/alpine/Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# vim:set ft=dockerfile:
22
FROM alpine:3.12
33

4-
ENV HAPROXY_VERSION 2.0.15
5-
ENV HAPROXY_URL https://www.haproxy.org/download/2.0/src/haproxy-2.0.15.tar.gz
6-
ENV HAPROXY_SHA256 6e21c6b92d4035ee006ef18e25f396d7e71552a6d3a1e075fa9fe59d89eaaeee
4+
ENV HAPROXY_VERSION 2.0.16
5+
ENV HAPROXY_URL https://www.haproxy.org/download/2.0/src/haproxy-2.0.16.tar.gz
6+
ENV HAPROXY_SHA256 8eda217f3bf82f7ad6353bfd0c2005c4ac2da6cdca0398cf98de0016cdb97385
77

88
# see https://sources.debian.net/src/haproxy/jessie/debian/rules/ for some helpful navigation of the possible "make" arguments
99
RUN set -x \
@@ -26,6 +26,10 @@ RUN set -x \
2626
&& mkdir -p /usr/src/haproxy \
2727
&& tar -xzf haproxy.tar.gz -C /usr/src/haproxy --strip-components=1 \
2828
&& rm haproxy.tar.gz \
29+
# https://github.com/haproxy/haproxy/issues/760 ("ebtree/ebtree.c:43:2: error: unknown type name 'ssize_t'; did you mean 'size_t'?")
30+
&& ! grep -qF 'unistd.h' /usr/src/haproxy/ebtree/ebtree.c \
31+
&& awk '$1 == "#include" && !inc { print "#include <unistd.h>"; inc = 1 } { print }' /usr/src/haproxy/ebtree/ebtree.c > ebtree.c \
32+
&& mv ebtree.c /usr/src/haproxy/ebtree/ebtree.c \
2933
\
3034
&& makeOpts=' \
3135
TARGET=linux-glibc \

Dockerfile-alpine.template

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ RUN set -x \
2626
&& mkdir -p /usr/src/haproxy \
2727
&& tar -xzf haproxy.tar.gz -C /usr/src/haproxy --strip-components=1 \
2828
&& rm haproxy.tar.gz \
29+
# https://github.com/haproxy/haproxy/issues/760 ("ebtree/ebtree.c:43:2: error: unknown type name 'ssize_t'; did you mean 'size_t'?")
30+
&& ! grep -qF 'unistd.h' /usr/src/haproxy/ebtree/ebtree.c \
31+
&& awk '$1 == "#include" && !inc { print "#include <unistd.h>"; inc = 1 } { print }' /usr/src/haproxy/ebtree/ebtree.c > ebtree.c \
32+
&& mv ebtree.c /usr/src/haproxy/ebtree/ebtree.c \
2933
\
3034
&& makeOpts=' \
3135
TARGET=linux-musl \

update.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ for version in "${versions[@]}"; do
6868
sedExpr+='
6969
s/linux-musl/linux-glibc/;
7070
'
71+
else
72+
sedExpr+='
73+
/ebtree/d
74+
'
7175
fi
7276
sed -r "$sedExpr" 'Dockerfile-debian.template' > "$version/Dockerfile"
7377

0 commit comments

Comments
 (0)