Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.

Conversation

@avanier
Copy link

@avanier avanier commented Jan 15, 2020

There are some OCI image build applications like buildah and podman that do not respect .dockerignore. If the build context is initialized with a locally built ./artifacts folder, there might be a libc / musl mismatch, and the integration tests will fail with file not found.

This commit ensures the build context is cleaned on every image build, ensuring the binaries in the artifacts folder are rebuilt, and built against the right dynamic link. The commit also pins the Alpine image version, and thus pins the musl version that to be shared across the build and runtime images.

There are some OLCI image build applications like `buildah` and
`podman` that do not respect `.dockerignore`. If the build context is
initialized with a locally built `./artifacts` folder, there might be
a libc / musl mismatch, and the integration tests will fail with `file
not found`.

This commit ensures the build context is cleaned on every image build,
ensuring the binaries are rebuilt, and built against the right dynamic
link. The commit also pins the Alpine image version, and thus pins the
musl version that both the build and runtime images will use.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant