diff --git a/Dockerfile.debian b/Dockerfile.debian index 5df28c5bb..446179447 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -87,7 +87,7 @@ VOLUME /var/lib/mysql # Config files COPY config/ /etc/mysql/ COPY docker-entrypoint.sh /usr/local/bin/ -{{ if [ "8.0" ] | index(env.version) then ( -}} +{{ if env.version == "8.0" then ( -}} RUN ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat {{ ) else "" end -}} ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/Dockerfile.oracle b/Dockerfile.oracle index 15fcabcad..39ba41692 100644 --- a/Dockerfile.oracle +++ b/Dockerfile.oracle @@ -132,7 +132,7 @@ RUN set -eux; \ VOLUME /var/lib/mysql COPY docker-entrypoint.sh /usr/local/bin/ -{{ if [ "8.0" ] | index(env.version) then ( -}} +{{ if env.version == "8.0" then ( -}} RUN ln -s usr/local/bin/docker-entrypoint.sh /entrypoint.sh # backwards compat {{ ) else "" end -}} ENTRYPOINT ["docker-entrypoint.sh"]