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 \
35
35
USE_OPENSSL=1 \
36
36
USE_PCRE2=1 USE_PCRE2_JIT=1 \
37
37
USE_ZLIB=1 \
38
- # USE_BACKTRACE is enabled by default on the linux2628 target, but does not work with musl
39
- USE_BACKTRACE= \
40
38
\
41
39
EXTRA_OBJS=" \
42
40
" \
Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ RUN set -x \
36
36
USE_OPENSSL=1 \
37
37
USE_PCRE2=1 USE_PCRE2_JIT=1 \
38
38
USE_ZLIB=1 \
39
- # USE_BACKTRACE is enabled by default on the linux2628 target, but does not work with musl
40
- USE_BACKTRACE= \
41
39
\
42
40
EXTRA_OBJS=" \
43
41
" \
Original file line number Diff line number Diff line change @@ -35,8 +35,6 @@ RUN set -x \
35
35
USE_OPENSSL=1 \
36
36
USE_PCRE2=1 USE_PCRE2_JIT=1 \
37
37
USE_ZLIB=1 \
38
- # USE_BACKTRACE is enabled by default on the linux2628 target, but does not work with musl
39
- USE_BACKTRACE= \
40
38
\
41
39
EXTRA_OBJS=" \
42
40
" \
Original file line number Diff line number Diff line change @@ -35,8 +35,6 @@ RUN set -x \
35
35
USE_OPENSSL=1 \
36
36
USE_PCRE2=1 USE_PCRE2_JIT=1 \
37
37
USE_ZLIB=1 \
38
- # USE_BACKTRACE is enabled by default on the linux2628 target, but does not work with musl
39
- USE_BACKTRACE= \
40
38
\
41
39
EXTRA_OBJS=" \
42
40
" \
Original file line number Diff line number Diff line change @@ -35,8 +35,6 @@ RUN set -x \
35
35
USE_OPENSSL=1 \
36
36
USE_PCRE2=1 USE_PCRE2_JIT=1 \
37
37
USE_ZLIB=1 \
38
- # USE_BACKTRACE is enabled by default on the linux-glibc target, but does not work with musl
39
- USE_BACKTRACE= \
40
38
\
41
39
EXTRA_OBJS=" \
42
40
# 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 \
35
35
USE_OPENSSL=1 \
36
36
USE_PCRE2=1 USE_PCRE2_JIT=1 \
37
37
USE_ZLIB=1 \
38
- # USE_BACKTRACE is enabled by default on the linux-glibc target, but does not work with musl
39
- USE_BACKTRACE= \
40
38
\
41
39
EXTRA_OBJS=" \
42
40
# 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 \
29
29
&& rm haproxy.tar.gz \
30
30
\
31
31
&& makeOpts=' \
32
- TARGET=linux-glibc \
32
+ TARGET=linux-musl \
33
33
USE_GETADDRINFO=1 \
34
34
USE_LUA=1 LUA_INC=/usr/include/lua5.3 LUA_LIB=/usr/lib/lua5.3 \
35
35
USE_OPENSSL=1 \
36
36
USE_PCRE2=1 USE_PCRE2_JIT=1 \
37
37
USE_ZLIB=1 \
38
- # USE_BACKTRACE is enabled by default on the linux-glibc target, but does not work with musl
39
- USE_BACKTRACE= \
40
38
\
41
39
EXTRA_OBJS=" \
42
40
# 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 \
29
29
&& rm haproxy.tar.gz \
30
30
\
31
31
&& makeOpts=' \
32
- TARGET=linux-glibc \
32
+ TARGET=linux-musl \
33
33
USE_GETADDRINFO=1 \
34
34
USE_LUA=1 LUA_INC=/usr/include/lua5.3 LUA_LIB=/usr/lib/lua5.3 \
35
35
USE_OPENSSL=1 \
36
36
USE_PCRE2=1 USE_PCRE2_JIT=1 \
37
37
USE_ZLIB=1 \
38
- # USE_BACKTRACE is enabled by default on the linux-glibc target, but does not work with musl
39
- USE_BACKTRACE= \
40
38
\
41
39
EXTRA_OBJS=" \
42
40
# 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
68
68
if [[ " $version " = 1.* ]]; then
69
69
sedExpr+='
70
70
s/linux-glibc/linux2628/;
71
+ s/linux-musl/linux2628/;
71
72
/prometheus/d;
72
73
'
73
74
fi
75
+ if [[ " $version " =~ 2.[01] ]]; then
76
+ sedExpr+='
77
+ s/linux-musl/linux-glibc/;
78
+ '
79
+ fi
74
80
sed -r " $sedExpr " ' Dockerfile-debian.template' > " $version /Dockerfile"
75
81
76
82
for variant in alpine; do
You can’t perform that action at this time.
0 commit comments