uber-archive / makisu

Fast and flexible Docker image building tool, works in unprivileged containerized environments like Mesos and Kubernetes.
Apache License 2.0
2.41k stars 154 forks source link

Can't overwrite default blacklist #217

Open paulcdejean opened 5 years ago

paulcdejean commented 5 years ago

I'm trying to create a docker image like this:

FROM gcr.io/makisu-project/makisu

FROM bash
COPY --from=0 /makisu-internal/makisu /makisu-internal/makisu
COPY --from=0 /makisu-internal/docker-credential-ecr-login /makisu-internal/docker-credential-ecr-login
COPY --from=0 /makisu-internal/docker-credential-gcr /makisu-internal/docker-credential-gcr
COPY --from=0 /makisu-internal/certs/cacerts.pem /makisu-internal/certs/cacerts.pem

This is used for building docker images in gitlab runners using makisu.

This image builds perfectly fine using docker, but it doesn't build successfully using makisu! The COPYs fail because those files are blacklisted, which leads to the image not updating successfully.

And there's no way to override the default blacklist so enable this type of thing.