blob: 14603be773eadff275fc6e13ce36a1b8cd2230c3 [file] [view]
# Docker Test
## Supported OSes
* Debian 12, and 13
* Fedora 37
* Ubuntu 24 and 26
* Oracle Linux 9 and 10
* Amazon Linux 2023
## Pre-built Images
Apache ORC community provides a set of pre-built docker images and uses it during testing.
docker pull apache/orc-dev:ubuntu24
You can find all tags here.
https://hub.docker.com/r/apache/orc-dev/tags
## Test
To test against all of the Linux OSes against Apache's main branch:
cd docker
./run-all.sh apache main
Using `local` as the owner will cause the scripts to use the local repository.
The scripts are:
* `run-all.sh` *owner* *branch* - test the given owner's branch on all OSes
* `run-one.sh` *owner* *branch* *os* - test the owner's branch on one OS
* `reinit.sh` - rebuild all of the base images without the image cache
`run-all.sh`, `run-one.sh` and `reinit.sh` tests both on jdk17 and 21 across OSes
A base image for each OS is built using:
cd docker/$os
FOR jdk21: docker build -t "orc-$os-jdk21" --build-arg jdk=21 .
## Clean up
docker container prune
docker image prune