Category "docker-buildkit"

Docker build command using Buildkit secrets fails in Gitlab

My Dockerfile (somewhat redacted here) looks like this: FROM python:3.9.9-slim-bullseye WORKDIR /tmp RUN --mount=type=secret,id=token echo "$(cat /run/secret

Don't use layer cache, but do use mount-cache when using docker+buildkit

When using buildkit, using the docker cli frontend, I sometimes do not want to use layer-cache, but do want to rely on the newer mount-cache type. RUN --mount=