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
I found out that defining an image and also features allows to build a new image with the desired features.
Unfortunately, it is not allowed to have image and build at the same time. I need build.options to pass additional parameters (add-host) to the docker command that is used to add the feature to the original image.
The only workaround right now is to create a Dockerfile with just the image as the FROM and then use build with the Dockerfile and not the image at all. Would be nice to be able to pass options when building an image with features as well instead of only when using a Dockerfile.
The text was updated successfully, but these errors were encountered:
Hello all
I found out that defining an
image
and alsofeatures
allows to build a new image with the desired features.Unfortunately, it is not allowed to have
image
andbuild
at the same time. I needbuild.options
to pass additional parameters (add-host
) to the docker command that is used to add the feature to the original image.The only workaround right now is to create a Dockerfile with just the image as the
FROM
and then usebuild
with the Dockerfile and not the image at all. Would be nice to be able to pass options when building an image with features as well instead of only when using a Dockerfile.The text was updated successfully, but these errors were encountered: