@@ -52,7 +52,7 @@ RUN set -eux; \
52
52
pcre2-dev \
53
53
readline-dev \
54
54
tar \
55
- {{ if ([ "1.8", "2.0", "2.2", "2.3" ] | index(env.version)) then ( -}}
55
+ {{ if ([ "1.8", "2.0", "2.2" ] | index(env.version)) then ( -}}
56
56
zlib-dev \
57
57
{{ ) else "" end -}}
58
58
; \
@@ -67,7 +67,7 @@ RUN set -eux; \
67
67
libssl-dev \
68
68
make \
69
69
wget \
70
- {{ if ([ "1.8", "2.0", "2.2", "2.3" ] | index(env.version)) then ( -}}
70
+ {{ if ([ "1.8", "2.0", "2.2" ] | index(env.version)) then ( -}}
71
71
zlib1g-dev \
72
72
{{ ) else "" end -}}
73
73
; \
@@ -96,15 +96,15 @@ RUN set -eux; \
96
96
USE_LUA=1 LUA_INC=/usr/include/lua5.3 {{ if env.variant == "alpine" then "LUA_LIB=/usr/lib/lua5.3 " else "" end }}\
97
97
USE_OPENSSL=1 \
98
98
USE_PCRE2=1 USE_PCRE2_JIT=1 \
99
- {{ if ([ "1.8", "2.0", "2.2", "2.3" ] | index(env.version)) then ( -}}
99
+ {{ if ([ "1.8", "2.0", "2.2" ] | index(env.version)) then ( -}}
100
100
USE_ZLIB=1 \
101
101
{{ ) else "" end -}}
102
- {{ if ([ "1.8", "2.0", "2.2", "2.3" ] | index(env.version) | not) then ( -}}
102
+ {{ if ([ "1.8", "2.0", "2.2" ] | index(env.version) | not) then ( -}}
103
103
USE_PROMEX=1 \
104
104
{{ ) else "" end -}}
105
105
\
106
106
EXTRA_OBJS=" \
107
- {{ if [ "2.0", "2.2", "2.3" ] | index(env.version) then ( -}}
107
+ {{ if [ "2.0", "2.2" ] | index(env.version) then ( -}}
108
108
# see https://github.com/docker-library/haproxy/issues/94#issuecomment-505673353 for more details about prometheus support
109
109
contrib/prometheus-exporter/service-prometheus.o \
110
110
{{ ) else "" end -}}
@@ -162,12 +162,12 @@ RUN set -eux; \
162
162
STOPSIGNAL SIGUSR1
163
163
164
164
COPY docker-entrypoint.sh /usr/local/bin/
165
- {{ if [ "1.8", "2.0", "2.2", "2.3" ] | index(env.version) then ( -}}
165
+ {{ if [ "1.8", "2.0", "2.2" ] | index(env.version) then ( -}}
166
166
RUN ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
167
167
{{ ) else "" end -}}
168
168
ENTRYPOINT ["docker-entrypoint.sh"]
169
169
170
- {{ if [ "1.8", "2.0", "2.2", "2.3" ] | index(env.version) then ( -}}
170
+ {{ if [ "1.8", "2.0", "2.2" ] | index(env.version) then ( -}}
171
171
# no USER for backwards compatibility (to try to avoid breaking existing users)
172
172
{{ ) else ( -}}
173
173
USER haproxy
0 commit comments