We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
IN()
index()
1 parent a37e929 commit 5db7a17Copy full SHA for 5db7a17
Dockerfile-alpine.template
@@ -38,7 +38,7 @@ RUN set -eux; \
38
# verify that the binary works
39
gosu --version; \
40
gosu nobody true
41
-{{ if [ "12", "13", "14", "15", "16" ] | index(env.version) then ( -}}
+{{ if env.version | IN("12", "13", "14", "15", "16") then ( -}}
42
RUN set -eux; ln -svf gosu /usr/local/bin/su-exec; su-exec nobody true # backwards compatibility (removed in PostgreSQL 17+)
43
{{ ) else "" end -}}
44
0 commit comments