Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ jobs:
- name: Checkout source
uses: actions/checkout@v6
- name: Build custom-docker image
# Restrict to amd64 to avoid QEMU emulation for arm64 and ppc64le on
# ubuntu-latest runners. The Dockerfile is architecture-agnostic, so a
# single-arch build is enough to verify the bundled customization and
# plugin downloads.
# Restrict to amd64 to avoid QEMU emulation for arm64 on ubuntu-latest
# runners. The Dockerfile is architecture-agnostic, so a single-arch
# build is enough to verify the bundled customization and plugin downloads.
run: ./build.sh -a amd64
working-directory: custom-docker
3 changes: 1 addition & 2 deletions custom-docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,11 @@ release, adds configurations files from `customization` and a limited number of
plugins configured in `processPluginsForCustomizations` in `build.sh`, and
repackages it into a Docker image.

After a successful build, you find the Docker images for the three different
After a successful build, you find the Docker images for the two different
processor architectures locally with `docker images`:

```
REPOSITORY TAG IMAGE ID CREATED SIZE
trino-custom 483-ppc64le 2279b0a14cb6 About a minute ago 790MB
trino-custom 483-arm64 67a3dcee3c85 About a minute ago 765MB
trino-custom 483-amd64 df994bb44819 About a minute ago 757MB
```
Expand Down
4 changes: 2 additions & 2 deletions custom-docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Usage: $0 [-h] [-a <ARCHITECTURES>] [-r <TRINO_VERSION>] [-t <TAG_PREFIX>]
Builds the Trino Docker image

-h Display help
-a Build the specified comma-separated architectures, defaults to amd64,arm64,ppc64le
-a Build the specified comma-separated architectures, defaults to amd64,arm64
-r Trino version, defaults to 483
-t Image tag name, defaults to trino-custom
EOF
}

ARCHITECTURES=(amd64 arm64 ppc64le)
ARCHITECTURES=(amd64 arm64)
# Set the desires Trino version. This version is also used automatically in the
# Dockerfile.
TRINO_VERSION=483
Expand Down