Details
Docker workflow:
docker build . -f services/tunnelbroker/Dockerfile
Before this is merged, base-image will need to be updated to reference
new docker hub image
Nix worfklow
nix develop cd services/tunnelbroker mkdir build && cd build && cmake .. && make
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
I know that the CI gates will fail, but can't really do much about it until all of the docker logic is fixed, and would like to avoid pushing many base images.
Is there a way to point to the base image in the repo instead of DockerHub?
I feel like there's got to be a way, just don't know how involved that would be.
Is there a way to point to the base image in the repo instead of DockerHub?
I'm not sure, currently I have it where the services are pulling from "latest", and just build the image locally (which will automatically tag latest). So the test plan currently does pull from the local repo as docker will prefer items in the local image cache. But I can only "bump" the true version after it's published to dockerhub. I think you can also use image IDs, but that's harder to determine how to create something.
Or we can use nix :)
cd services/base-image docker build -t commapp/services-base . -f Dockerfile cd ../.. docker build . -f services/tunnelbroker/Dockerfile
Ran these steps locally and confirmed that they worked.