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
Use case: I'd like to install some packages when building the container, so I wrote a Dockerfile. However, the Dockerfile is always executed before the features, so whenever I change the packages installed in the Dockerfile, the whole building process won't benefit from the cache.
Therefore, I tried to write a new feature to do that. However, then I found that the new feature is always executed first (maybe that's because path like "./features/xxx" is always executed before "ghcr.io/xxx". (I don't quite understand if that's the fully qualified name
Anyway, is there a way that I can force the feature to be executed at the end, such as explicitly set roundPriority? Or are there any alternatives to do so?
The text was updated successfully, but these errors were encountered:
Use case: I'd like to install some packages when building the container,
so I wrote a Dockerfile. However, the Dockerfile is always executed before
the features, so whenever I change the packages installed in the
Dockerfile, the whole building process won't benefit from the cache.
Therefore, I tried to write a new feature to do that. However, then I
found that the new feature is always executed first (maybe that's because
path like "./features/xxx" is always executed before "ghcr.io/xxx". (I
don't quite understand if that's the fully qualified name
<https://containers.dev/implementors/features/#definition-feature-equality>
Anyway, is there a way that I can force the feature to be executed at the
end, such as explicitly set roundPriority? Or are there any alternatives to
do so?
—
Reply to this email directly, view it on GitHub
<#524>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BDJKZVCCB6PCIRZM5KU3VST2FJXJ7AVCNFSM6AAAAABTRIHT4OVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4ZTONBVGI4TEMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Use case: I'd like to install some packages when building the container, so I wrote a Dockerfile. However, the Dockerfile is always executed before the features, so whenever I change the packages installed in the Dockerfile, the whole building process won't benefit from the cache.
Therefore, I tried to write a new feature to do that. However, then I found that the new feature is always executed first (maybe that's because path like "./features/xxx" is always executed before "ghcr.io/xxx". (I don't quite understand if that's the fully qualified name
Anyway, is there a way that I can force the feature to be executed at the end, such as explicitly set roundPriority? Or are there any alternatives to do so?
The text was updated successfully, but these errors were encountered: