skip to Main Content

Dockerfile exclude flag isn't recognize with 1.7-labs version

My Dockerfile looks like this: # syntax=docker/dockerfile:1.7-labs FROM mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2019 WORKDIR /app # other commands COPY --exclude=bin/big_annoying.dll bin bin I use Docker Desktop v4.30.0 (149282) for building images on Win 10 through docker compose build that references file above. Buildkit version…

VIEW QUESTION
Back To Top
Search