We use Docker to manage our build environment.
This requires access to the private hyperdrive repo, available only to Delv team members currently.
To build a local image, make sure you have Docker installed and running, then use:
chmod +x build_local_docker_image.sh
./build_local_docker_image.sh
If built successfully, a docker image ls
command should look like this:
REPOSITORY TAG IMAGE ID CREATED SIZE
elf-sims latest fd84351979d7 21 minutes ago 2.04GB
This image receives the elf-sims
tag and can be reference withimage: elf-sims:latest
,
for instance if you're using Docker Compose.
To build a local image and push it to ghcr.io, make sure you have Docker installed and running, then use:
>> ./scripts/build_and_push_docker_iamge.sh
Tag pushed to ghcr.io/delvtech/elf-simulations/dcdefc6153fc
Run the following command to retrieve the image:
docker image pull ghcr.io/delvtech/elf-simulations/dcdefc6153fc
If you get a 401 error, you'll need to make a GH Personal Access Token with write access.
You can optionally provide a tag
>> ./scripts/build_and_push_docker_iamge.sh matt-latest
Tag pushed to ghcr.io/delvtech/elf-simulations/matt-latest
Run the following command to retrieve the image:
docker image pull ghcr.io/delvtech/elf-simulations/matt-latest