diff --git a/CHANGELOG.md b/CHANGELOG.md index 969b78b31..a18f2bc51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -82,6 +82,7 @@ All notable changes to this project will be documented in this file. - vector: Bump to `0.47.0` ([#1152]). - zookeeper: backport ZOOKEEPER-4846, ZOOKEEPER-4921, ZOOKEEPER-4925 into Zookeeper 3.9.3 ([#1150]). - testing-tools: Update base image ([#1165]). +- trino: Enable custom versions ([#1168]). - opa: Enable custom versions ([#1170]). ### Fixed @@ -187,6 +188,7 @@ All notable changes to this project will be documented in this file. [#1156]: https://github.com/stackabletech/docker-images/pull/1156 [#1163]: https://github.com/stackabletech/docker-images/pull/1163 [#1165]: https://github.com/stackabletech/docker-images/pull/1165 +[#1168]: https://github.com/stackabletech/docker-images/pull/1168 [#1170]: https://github.com/stackabletech/docker-images/pull/1170 ## [25.3.0] - 2025-03-21 diff --git a/conf.py b/conf.py index 2840a9511..e60f098d7 100644 --- a/conf.py +++ b/conf.py @@ -33,6 +33,7 @@ superset = importlib.import_module("superset.versions") trino_cli = importlib.import_module("trino-cli.versions") trino = importlib.import_module("trino.versions") +trino_jars = importlib.import_module("trino.trino.versions") trino_storage_connector = importlib.import_module("trino.storage-connector.versions") kafka_testing_tools = importlib.import_module("kafka-testing-tools.versions") kcat = importlib.import_module("kafka.kcat.versions") @@ -66,6 +67,7 @@ {"name": "superset", "versions": superset.versions}, {"name": "trino-cli", "versions": trino_cli.versions}, {"name": "trino", "versions": trino.versions}, + {"name": "trino/trino", "versions": trino_jars.versions}, {"name": "trino/storage-connector", "versions": trino_storage_connector.versions}, {"name": "kafka-testing-tools", "versions": kafka_testing_tools.versions}, {"name": "kafka/kcat", "versions": kcat.versions}, diff --git a/trino/Dockerfile b/trino/Dockerfile index 6158d0602..459ec02a4 100644 --- a/trino/Dockerfile +++ b/trino/Dockerfile @@ -3,89 +3,14 @@ FROM stackable/image/trino/storage-connector AS trino-storage-connector-image -FROM stackable/image/java-devel AS trino-builder - -ARG PRODUCT -ARG STACKABLE_USER_UID -ARG JMX_EXPORTER - -WORKDIR /stackable - -COPY --chown=${STACKABLE_USER_UID}:0 trino/stackable/patches/patchable.toml /stackable/src/trino/stackable/patches/patchable.toml -COPY --chown=${STACKABLE_USER_UID}:0 trino/stackable/patches/${PRODUCT} /stackable/src/trino/stackable/patches/${PRODUCT} - -COPY --from=trino-storage-connector-image /stackable/src/trino-storage-connector/patchable-work/worktree/${PRODUCT}/target/trino-storage-${PRODUCT} /stackable/trino-server-${PRODUCT}/plugin/trino-storage-${PRODUCT} -COPY --from=trino-storage-connector-image /stackable/src/trino-storage-connector/patchable-work/worktree/${PRODUCT}/target/bom.json /stackable/trino-server-${PRODUCT}/plugin/trino-storage-${PRODUCT}/trino-storage-${PRODUCT}.cdx.json -COPY --from=trino-storage-connector-image /stackable/trino-storage-connector-${PRODUCT}-src.tar.gz /stackable -COPY --chown=${STACKABLE_USER_UID}:0 trino/stackable/jmx /stackable/jmx - -# adding a hadolint ignore for SC2215, due to https://github.com/hadolint/hadolint/issues/980 -# hadolint ignore=SC2215 -RUN --mount=type=cache,id=maven-${PRODUCT},target=/root/.m2/repository <