tree: 3db873ef2645b3385f796f19de7fe8347933386d [path history] [tgz]
  1. centos7/
  2. debian10/
  3. debian11/
  4. ubuntu18/
  5. ubuntu20/
  6. ubuntu22/
  7. .gitignore
  8. os-list.txt
  9. README.md
  10. reinit.sh
  11. run-all.sh
  12. run-one.sh
docker/README.md

Supported OSes

  • CentOS 7
  • Debian 10 and 11
  • Ubuntu 18, 20 and 22

Pre-built Images

Apache ORC community provides a set of pre-built docker images and uses it during testing.

docker pull apache/orc-dev:ubuntu22

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 jdk8 and 11 across OSes

A base image for each OS is built using:

cd docker/$os
FOR jdk8:  docker build -t "orc-$os-jdk8" --build-arg jdk=8 .
FOR jdk11: docker build -t "orc-$os-jdk11" --build-arg jdk=11 .

Clean up

docker container prune
docker image prune