Added a .dockerignore file to keep the Dockerfile clean from directories related to IDE/CI/Git and other unused files. This fixes #13.
Removed the base Docker image as it's an additional dependency to maintain. It didn't add much value other than saving a bit of time by grabbing an image with Hadoop and the Maven dependencies pre-packaged.
The new base image of our Docker image is the slightly more recent openjdk:8-jdk-buster (previously, it was openjdk:8-jdk-stretch).
Despite no longer relying on a base image, the build is still pretty fast -- rebuilding locally from scratch took <2 minutes and it takes <1.5 minutes in CI:
docker system prune -a && time docker build . --tag ldbc/datagen
Changes:
.dockerignore
file to keep the Dockerfile clean from directories related to IDE/CI/Git and other unused files. This fixes #13.openjdk:8-jdk-buster
(previously, it wasopenjdk:8-jdk-stretch
).Despite no longer relying on a base image, the build is still pretty fast -- rebuilding locally from scratch took <2 minutes and it takes <1.5 minutes in CI: