TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Dockerizing a Programming Language

56 pointsby mbellottiover 3 years ago

5 comments

ebingdomover 3 years ago
OP is using Docker + Make in a similar way to how I was a few years ago, before I started using Toast (<a href="https:&#x2F;&#x2F;github.com&#x2F;stepchowfun&#x2F;toast" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;stepchowfun&#x2F;toast</a>). Toast lets you define tasks like you would with Make (without all the hairy gotchas of Makefiles), but it runs them inside Docker containers for better portability&#x2F;reproducibility.
评论 #29882386 未加载
chriswarboover 3 years ago
I get the arguments for using containers, but why use Docker? Especially if you&#x27;re already using Make? Building a container image is pretty simple in Make (or bash, or anything else); you just copy a &quot;config.json&quot; into the output directory, tar it up, and write its sha256 to a &quot;manifest.json&quot; file.<p>Update: If you want to include other &quot;layers&quot;, e.g. if the Z3 project provides its own image, then just put their SHA256 in the manifest.json too.
charcircuitover 3 years ago
Doesn&#x27;t docker seem overkill compared to just a package for a package manager or statically compiling Z3 into your binary?
评论 #29872177 未加载
the_gipsyover 3 years ago
Can&#x27;t read, cut off after first paragraph with &quot;download app &#x2F; sign up&quot; marketing bullshit. Medium should be blocked from HN.
评论 #29883186 未加载
secondcomingover 3 years ago
Docker all the things!