Skip to content

Commit 414915c

Browse files
authored
Merge pull request #145 from TimWolla/haproxy-1.7
Update to 1.7.13
2 parents 102c0e1 + 42989bf commit 414915c

File tree

4 files changed

+27
-9
lines changed

4 files changed

+27
-9
lines changed

1.7/Dockerfile

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

1.7/alpine/Dockerfile

Lines changed: 11 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile.template

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,16 @@ RUN set -eux; \
7070
tar -xzf haproxy.tar.gz -C /usr/src/haproxy --strip-components=1; \
7171
rm haproxy.tar.gz; \
7272
\
73+
{{ if env.version == "1.7" and env.variant == "alpine" then ( -}}
74+
# https://github.com/haproxy/haproxy/issues/760#issuecomment-804282562
75+
apk add --no-cache --virtual .build-deps-patch patch; \
76+
# https://git.haproxy.org/?p=haproxy-1.7.git;a=commit;h=3280d0ab43e03ae5e94da205630fa576d7633627
77+
wget -O ebtree.patch 'https://git.haproxy.org/?p=haproxy-1.7.git;a=patch;h=3280d0ab43e03ae5e94da205630fa576d7633627'; \
78+
echo '8c8176604a9638d57fc4385154d8d2622d4ae52422ea53a5b91fac49459cfd2d *ebtree.patch' | sha256sum -c -; \
79+
patch -p1 --input="$PWD/ebtree.patch" --directory=/usr/src/haproxy; \
80+
apk del --no-network .build-deps-patch; \
81+
\
82+
{{ ) else "" end -}}
7383
{{
7484
def haproxy_target:
7585
if env.version | startswith("1.") then

versions.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"1.7": {
33
"alpine": "3.12",
44
"debian": "buster-slim",
5-
"sha256": "4118178b553a107b227f3f84774c7a50ae0b3ac2be39211c3db511ed4efe48ce",
6-
"url": "https://www.haproxy.org/download/1.7/src/haproxy-1.7.12.tar.gz",
7-
"version": "1.7.12"
5+
"sha256": "53ae3ae722236a56cc8b584bf1f8ef422fc40e9ce032d244e256c486c1713600",
6+
"url": "https://www.haproxy.org/download/1.7/src/haproxy-1.7.13.tar.gz",
7+
"version": "1.7.13"
88
},
99
"1.8": {
1010
"alpine": "3.13",

0 commit comments

Comments
 (0)