Documentation for the DataJoint’s DJBase Image¶
A minimal base docker image with DataJoint Python dependencies installed.
Launch Locally¶
Debian¶
docker-compose -f dist/debian/docker-compose.yaml --env-file config/.env up --build
Alpine¶
docker-compose -f dist/alpine/docker-compose.yaml --env-file config/.env up --build
Features¶
Installs
datajoint
dependencies w/o actually installingdatajoint
.Applies image compresssion.
Testing¶
To rebuild and run tests locally, execute the following statements:
set -a # automatically export sourced variables
. config/.env # source config for build and tests
docker buildx bake -f dist/${DISTRO}/docker-compose.yaml --set *.platform=${PLATFORM} --set *.context=. --load # build image
tests/main.sh # run tests
set +a # disable auto-export behavior for sourced variables
Base Image¶
Build is a child of datajoint/miniconda3.