World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[#4688] fix (docker): Fix the Trino playground Docker image cannot start up (#4689)
Yuhui67d0cf5cb99d
diff --git a/dev/docker/trino/Dockerfile b/dev/docker/trino/Dockerfileindex 2050ab7987..8d4e4ff3ca 100644--- a/dev/docker/trino/Dockerfile+++ b/dev/docker/trino/Dockerfile@@ -66,13 +66,15 @@ COPY --chown=trino:trino packages/gravitino-trino-connector/postgresql-42.7.0.jaRUN mkdir /tmp/gravitinoCOPY --chown=trino:trino packages/gravitino-trino-connector /tmp/gravitino-ARG IMAGE_NAMEARG TAG_NAME-RUN if [ "$TAG_NAME" = "trino-*" ] ; then \- mv /tmp/gravitino /usr/lib/trino/plugin/; \- else echo "Copying files for other images"; \- fi-+RUN case "$TAG_NAME" in \+ trino-*) \+ mv /tmp/gravitino /usr/lib/trino/plugin/; \+ ;; \+ *) \+ echo "Copying files for other images"; \+ ;; \+ esac# The following ENV are needed to update configuration file before starting Trino server, you need to# pass these ENV variables to the container when starting it like `docker run --env GRAVITINO_HOST_IP=xxx --env GRAVITINO_HOST_PORT=xxxx`