Conversation
|
@doompling -- Love this! The perfect 100th language for this project! There is a problem though, multi-stage Dockerfiles for languages doesn't work. You may be able to work around this by copying what you need into the 000-base container, you'll see something like this in Golang. Although... just plucking out your compiler and dropping it in alpine could be a can of worms going to be problematic. Alternatively, if you dropped the base-container all together, and swapped this to use whatever flavour of linux you wanted -- that's also totally fine! As long as it supports the amd64 platform, you can ditch the base. You'll find how this is done here. Edited: I wanted to share the "let's us a new base container" approach |
|
|
||
| COPY --from=sol-compiler /usr/local/bin/sol /usr/local/bin/sol | ||
| COPY --from=sol-compiler /usr/local/lib/libsol_runtime.a /usr/local/lib/libsol_runtime.a | ||
| COPY --from=sol-compiler /usr/local/lib/sol /usr/local/lib/sol |
There was a problem hiding this comment.
| COPY --from=sol-compiler /usr/local/lib/sol /usr/local/lib/sol |
ofthemachine/100hellos-docs#1