Skip to content

Add Sol#9

Open
doompling wants to merge 1 commit intoofthemachine:mainfrom
doompling:add-sol
Open

Add Sol#9
doompling wants to merge 1 commit intoofthemachine:mainfrom
doompling:add-sol

Conversation

@doompling
Copy link

@doompling doompling commented Feb 28, 2026

@frison
Copy link
Collaborator

frison commented Mar 3, 2026

@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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
COPY --from=sol-compiler /usr/local/lib/sol /usr/local/lib/sol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants