This repository has been archived by the owner on Jul 28, 2021. It is now read-only.
docker build with FROM argument from build argument fails #168
Comments
This was referenced Dec 1, 2017
This now seems to work with:
closing |
Iristyle
added a commit
to Iristyle/puppet-agent
that referenced
this issue
Dec 5, 2018
- There are 2 current issues with building the Alpine based agent container in Azure: - LCOW doesn't support memory limits on containers and gcc currently gets an OOM (out of memory) error during compilation. This issue is documented in a few places, notably: docker/for-win#1357 moby/moby#37296 - Multi-stage builds aren't fully supported in LCOW, though some portions are working. Of note, the following issue is still open: microsoft/opengcs#156 And other issues have been resolved: microsoft/opengcs#168 microsoft/opengcs#169 The LCOW "epic" should eventually be updated when support is complete: moby/moby#33850 It's difficult at this time to tell if the current multi-stage support is adequate given the blocking memory problem. It may very well be enough. - For now, disable the Azure pipelines steps for building until the point at which they can be re-enabled.
Iristyle
added a commit
to Iristyle/puppet-agent
that referenced
this issue
Dec 5, 2018
- There are 2 current issues with building the Alpine based agent container in Azure: - LCOW doesn't support memory limits on containers and gcc currently gets an OOM (out of memory) error during compilation. This issue is documented in a few places, notably: docker/for-win#1357 moby/moby#37296 - Multi-stage builds aren't fully supported in LCOW, though some portions are working. Of note, the following issue is still open: microsoft/opengcs#156 And other issues have been resolved: microsoft/opengcs#168 microsoft/opengcs#169 The LCOW "epic" should eventually be updated when support is complete: moby/moby#33850 It's difficult at this time to tell if the current multi-stage support is adequate given the blocking memory problem. It may very well be enough. - For now, disable the Azure pipelines steps for building until the point at which they can be re-enabled.
Iristyle
added a commit
to Iristyle/puppet-agent
that referenced
this issue
Dec 5, 2018
- There are 2 current issues with building the Alpine based agent container in Azure: - LCOW doesn't support memory limits on containers and gcc currently gets an OOM (out of memory) error during compilation. This issue is documented in a few places, notably: docker/for-win#1357 moby/moby#37296 - Multi-stage builds aren't fully supported in LCOW, though some portions are working. Of note, the following issue is still open: microsoft/opengcs#156 And other issues have been resolved: microsoft/opengcs#168 microsoft/opengcs#169 The LCOW "epic" should eventually be updated when support is complete: moby/moby#33850 It's difficult at this time to tell if the current multi-stage support is adequate given the blocking memory problem. It may very well be enough. - For now, disable the Azure pipelines steps for building until the point at which they can be re-enabled.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
With a
Dockerfile
like this:and a docker invocation like this:
I get an error like this:
This works fine on Linux and Docker for Mac.
The daemon log only contains:
additional details:
The text was updated successfully, but these errors were encountered: