thought-machine / pleasings

Addons & new build rules for Please
Apache License 2.0
98 stars 39 forks source link

Docs: How to use dockerfile with multiple `FROM` statements #87

Closed mrsauravsahu closed 2 years ago

mrsauravsahu commented 3 years ago

I'm trying to build a package which has multiple FROM statements.

Refer https://github.com/mrsauravsahu/souvenirs/blob/main/srv/gateway/prod.dotnet-webapi.dockerfile for the exact dockerfile

Is this not supported or am I not able to find the right docs? Would be interested in implementing this if not available too!

Tatskaari commented 2 years ago

Sorry, I thought I responded. I would expect this to work out of the box. Please generates a .sh script that calls docker build on the docker file, so as long as that works, I can't see why this wouldn't. Have you found that it doesn't work? How does it fail?

mrsauravsahu commented 2 years ago

I can't seem to reproduce this anymore. Will reopen if I run into it again.