-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Description
Depends on #197
As part of #128, we want to embed the envbuilder binary in container images that are pushed to a registry (see #213 for the push implementation).
This could be as simple as appending COPY /.envbuilder/bin/envbuilder /.envbuilder/bin/envbuilder to the Dockerfile. The binary could be located elsewhere too, so a lookup may be necessary.
This will embed an eventually stale envbuilder binary in the image, but we consider this OK as our recommendation is to lock the envbuilder version, updating it will result in a new build.
Acceptance Criteria:
- Build an image using envbuilder with
ENVBUILDER_CACHE_REPO=localhost:5000/envbuilder-cacheor similar (after feat: push final image to cache repo #197 is merged) - Pull the resulting image
- Validate that the same
envbuilderbinary is present in the same location in the resulting image
bpmct