[sync] dockerfile infer sync mode not working as expected. #4898
Labels
area/sync
build/docker
good first issue
Good for newcomers
kind/friction
Issues causing user pain that do not have a workaround
priority/p2
May take a couple of releases
I have a dockerfile for a ruby app project here
I want to configure sync for one the css file. As per the docs, i do the following
However, when i make change to one of the files in assets
assets/javascripts/application.coffee
, a re-build is triggered./Users/tejaldesai/workspace/github-dashing/.idea/workspace.xml
is detected. This file is not added in.docerignore
and hence triggers a re-build.idea/*
to .dockerignore,sync
was triggered.COPY . /dashboard
in my dockerfile, a rebuild happens when git object changeExpected:
Infer rule 'assets/**/*' should not trigger rebuild.
Document or Warn users when
Copy .
is present in dockerfile and add following rules to dockerignore.The text was updated successfully, but these errors were encountered: