You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since only conf directory is changed I expect first stage (builder) to be completely cached when run again instead COPY and RUN commands are run. This does not happen if COPY does not use wildcard, i.e.COPY main.go /app instead of COPY *.go /app. This problem does not exist in legacy builder.
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
cd buildkitbug
docker build -t test .
echo anything > conf/sample.yaml
docker build -t test .
Expected results:
Since only
conf
directory is changed I expect first stage (builder) to be completely cached when run again insteadCOPY
andRUN
commands are run. This does not happen ifCOPY
does not use wildcard, i.e.COPY main.go /app
instead ofCOPY *.go /app
. This problem does not exist in legacy builder.The text was updated successfully, but these errors were encountered: