Container image to provide runtime environment for developing and testing Apache Ozone

Clone this repo:
  1. 5fab5ba HDDS-4881. Pre-install awscli in ozone-runner (#3) by Doroszlai, Attila · 3 days ago master 20210302-1
  2. f382bb1 HDDS-4864. Add acceptance tests to certify Ozone with boto3 python client. (#2) by George Huang · 8 days ago 20210226-1
  3. 74a1251 HDDS-4795. Separate source of Ozone container images to different repositories (#1) by Elek, Márton · 4 weeks ago
  4. a6386b8 HDDS-3859. Add ldb to ozone-runner docker image (#15) by Doroszlai, Attila · 8 months ago 20200625-1
  5. 112b2c5 HDDS-3461. Add CSI client utility by Elek Márton · 11 months ago 20200420-1

Apache Ozone runner base image

This is the base image to run Apache Hadoop Ozone in docker containers. This is only for test/develop and not for production.

The container doesn't include any Ozone specific jar files or release artifacts just an empty environment which includes all the specific tools to run and test Apache Ozone inside containers.

The image is available as apache/ozone-runner. Build is managed by Docker Hub.

Development

To build the image, please use:

docker build -t apache/ozone-runner:dev .

To test it, build Apache Ozone:

mvn clean verify -DskipTests -Dskip.npx -DskipShade -Ddocker.ozone-runner.version=dev

And start the compose cluster:

cd hadoop-ozone/dist/target/ozone-*/compose/ozone
docker-compose up -d

*After merging PR, a new tag should pushed to the repository to create a new image. Use the convention: YYYYMMDD-N for tags where N is a daily counter (see the existing tags as an example).

After tag is published (and built by Docker Hub), the used runner version can be updated by modifying the docker.ozone-runner.version version in hadoop-ozone/dist/pom.xml