Closed pwaller closed 5 years ago
So far this is a proof of concept which I'm now handing over to @CampGareth to complete.
[ ] Added to RELEASE.md
Unsure if this should be, I think of RELEASE.md as being user-facing changes only. If it's dev-facing too then this can be included
Please consider https://github.com/ReconfigureIO/eTeak/blob/8e17fa5392667aa69dec47bf910c3032aa3d143a/RELEASE.md as a model. We mark non-user facing changes with [internal]
. I see no reason not to do this. I think it's good to be in the habit of always documenting what changes you're making.
Note to self: Jenkins stuff for this is hard so tackle it last.
Oh dear, docker-compose doesn't currently support buildkit: https://github.com/docker/compose/issues/883#issuecomment-440795724
That takes this from modifying our existing docker-compose file and workflow to coming up with a new one. I'm okay with that but it looks like a rabbit hole so I'm going to leave it for now.
This should be straightforward. Just omit the build directives in docker compose, and do adocker build
followed by docker compose up
as the default make rule.
Essentially, the semantics of the docker-compose file will be "It expects the image to already exist". At least, until compose has buildkit support.
This would've sped up testing within docker and would've been nice to have, however development is spinning down so closing this PR.
Headlines:
Checklist
DOCKER_BUILDKIT=1
when building.Makefile
, replace withCOPY
inDockerfile
into runtime image.