flavorjones / irc-notification-resource

Concourse CI resource for sending notifications to IRC.
Other
4 stars 2 forks source link

Pin Alpine version and force clean build context #17

Open avanier opened 4 years ago

avanier commented 4 years ago

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.