File tree Expand file tree Collapse file tree 9 files changed +8
-18
lines changed Expand file tree Collapse file tree 9 files changed +8
-18
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,6 @@ RUN set -x \
3535 USE_OPENSSL=1 \
3636 USE_PCRE2=1 USE_PCRE2_JIT=1 \
3737 USE_ZLIB=1 \
38- # USE_BACKTRACE is enabled by default on the linux2628 target, but does not work with musl
39- USE_BACKTRACE= \
4038 \
4139 EXTRA_OBJS=" \
4240 " \
Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ RUN set -x \
3636 USE_OPENSSL=1 \
3737 USE_PCRE2=1 USE_PCRE2_JIT=1 \
3838 USE_ZLIB=1 \
39- # USE_BACKTRACE is enabled by default on the linux2628 target, but does not work with musl
40- USE_BACKTRACE= \
4139 \
4240 EXTRA_OBJS=" \
4341 " \
Original file line number Diff line number Diff line change @@ -35,8 +35,6 @@ RUN set -x \
3535 USE_OPENSSL=1 \
3636 USE_PCRE2=1 USE_PCRE2_JIT=1 \
3737 USE_ZLIB=1 \
38- # USE_BACKTRACE is enabled by default on the linux2628 target, but does not work with musl
39- USE_BACKTRACE= \
4038 \
4139 EXTRA_OBJS=" \
4240 " \
Original file line number Diff line number Diff line change @@ -35,8 +35,6 @@ RUN set -x \
3535 USE_OPENSSL=1 \
3636 USE_PCRE2=1 USE_PCRE2_JIT=1 \
3737 USE_ZLIB=1 \
38- # USE_BACKTRACE is enabled by default on the linux2628 target, but does not work with musl
39- USE_BACKTRACE= \
4038 \
4139 EXTRA_OBJS=" \
4240 " \
Original file line number Diff line number Diff line change @@ -35,8 +35,6 @@ RUN set -x \
3535 USE_OPENSSL=1 \
3636 USE_PCRE2=1 USE_PCRE2_JIT=1 \
3737 USE_ZLIB=1 \
38- # USE_BACKTRACE is enabled by default on the linux-glibc target, but does not work with musl
39- USE_BACKTRACE= \
4038 \
4139 EXTRA_OBJS=" \
4240# see https://github.com/docker-library/haproxy/issues/94#issuecomment-505673353 for more details about prometheus support
Original file line number Diff line number Diff line change @@ -35,8 +35,6 @@ RUN set -x \
3535 USE_OPENSSL=1 \
3636 USE_PCRE2=1 USE_PCRE2_JIT=1 \
3737 USE_ZLIB=1 \
38- # USE_BACKTRACE is enabled by default on the linux-glibc target, but does not work with musl
39- USE_BACKTRACE= \
4038 \
4139 EXTRA_OBJS=" \
4240# see https://github.com/docker-library/haproxy/issues/94#issuecomment-505673353 for more details about prometheus support
Original file line number Diff line number Diff line change @@ -29,14 +29,12 @@ RUN set -x \
2929 && rm haproxy.tar.gz \
3030 \
3131 && makeOpts=' \
32- TARGET=linux-glibc \
32+ TARGET=linux-musl \
3333 USE_GETADDRINFO=1 \
3434 USE_LUA=1 LUA_INC=/usr/include/lua5.3 LUA_LIB=/usr/lib/lua5.3 \
3535 USE_OPENSSL=1 \
3636 USE_PCRE2=1 USE_PCRE2_JIT=1 \
3737 USE_ZLIB=1 \
38- # USE_BACKTRACE is enabled by default on the linux-glibc target, but does not work with musl
39- USE_BACKTRACE= \
4038 \
4139 EXTRA_OBJS=" \
4240# see https://github.com/docker-library/haproxy/issues/94#issuecomment-505673353 for more details about prometheus support
Original file line number Diff line number Diff line change @@ -29,14 +29,12 @@ RUN set -x \
2929 && rm haproxy.tar.gz \
3030 \
3131 && makeOpts=' \
32- TARGET=linux-glibc \
32+ TARGET=linux-musl \
3333 USE_GETADDRINFO=1 \
3434 USE_LUA=1 LUA_INC=/usr/include/lua5.3 LUA_LIB=/usr/lib/lua5.3 \
3535 USE_OPENSSL=1 \
3636 USE_PCRE2=1 USE_PCRE2_JIT=1 \
3737 USE_ZLIB=1 \
38- # USE_BACKTRACE is enabled by default on the linux-glibc target, but does not work with musl
39- USE_BACKTRACE= \
4038 \
4139 EXTRA_OBJS=" \
4240# see https://github.com/docker-library/haproxy/issues/94#issuecomment-505673353 for more details about prometheus support
Original file line number Diff line number Diff line change @@ -68,9 +68,15 @@ for version in "${versions[@]}"; do
6868 if [[ " $version " = 1.* ]]; then
6969 sedExpr+='
7070 s/linux-glibc/linux2628/;
71+ s/linux-musl/linux2628/;
7172 /prometheus/d;
7273 '
7374 fi
75+ if [[ " $version " =~ 2.[01] ]]; then
76+ sedExpr+='
77+ s/linux-musl/linux-glibc/;
78+ '
79+ fi
7480 sed -r " $sedExpr " ' Dockerfile-debian.template' > " $version /Dockerfile"
7581
7682 for variant in alpine; do
You can’t perform that action at this time.
0 commit comments