This is an automated email from the ASF dual-hosted git repository.
yuqi4733 pushed a commit to branch issue-4445_for_test
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/issue-4445_for_test by this
push:
new 28de08adb fix
28de08adb is described below
commit 28de08adbb29b8ce72064e88075dfea71d7739be
Author: yuqi <[email protected]>
AuthorDate: Sat Aug 17 20:05:54 2024 +0800
fix
---
dev/docker/build-docker.sh | 2 +-
dev/docker/trino/Dockerfile | 3 ++-
docs/docker-image-details.md | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/dev/docker/build-docker.sh b/dev/docker/build-docker.sh
index 71c47c0ea..a2cef6c8f 100755
--- a/dev/docker/build-docker.sh
+++ b/dev/docker/build-docker.sh
@@ -121,7 +121,7 @@ else
exit 1
fi
-build_args="${build_args} --build-arg IMAGE_NAME=${image_name}"
+build_args="${build_args} --build-arg IMAGE_NAME=${image_name} --build-arg
TAG_NAME=${tag_name}"
# Create multi-arch builder
BUILDER_NAME="gravitino-builder"
diff --git a/dev/docker/trino/Dockerfile b/dev/docker/trino/Dockerfile
index 06aaa1626..2050ab798 100644
--- a/dev/docker/trino/Dockerfile
+++ b/dev/docker/trino/Dockerfile
@@ -67,7 +67,8 @@ RUN mkdir /tmp/gravitino
COPY --chown=trino:trino packages/gravitino-trino-connector /tmp/gravitino
ARG IMAGE_NAME
-RUN if [ "$IMAGE_NAME" = "apache/gravitino-*:trino-*" ] ; then \
+ARG TAG_NAME
+RUN if [ "$TAG_NAME" = "trino-*" ] ; then \
mv /tmp/gravitino /usr/lib/trino/plugin/; \
else echo "Copying files for other images"; \
fi
diff --git a/docs/docker-image-details.md b/docs/docker-image-details.md
index 174340172..4832d10f3 100644
--- a/docs/docker-image-details.md
+++ b/docs/docker-image-details.md
@@ -83,7 +83,7 @@ Changelog
Changelog
-- apache/gravitino-playground:trino-435-gravitino-0.5.1 (Switch to Apache
official DockerHub repository)
+- apache/gravitino-playground:trino-435-gravitino-0.6.0-incubating (Switch to
Apache official DockerHub repository)
- Use `datastrato/trino:435-gravitino-0.5.1` Dockerfile to rebuild the image.
- datastrato/trino:435-gravitino-0.5.1