SaaSHub helps you find the best software and product alternatives Learn more →
Top 14 Go Dockerfile Projects
-
Project mention: Is there a good example of an open source non-trivial (DB connection, authentication, authorization, data validation, tests, etc...) Go API? | reddit.com/r/golang | 2023-01-25
-
I know those questions are probably rhetorical, but to answer them anyway:
> > Nice syntax
> Is it though?
The most common alternative is to use a backslash at the end of each line, to create a line continuation. This swallows the newline, so you also need a semicolon. Forgetting the semicolon leads to weird errors. Also, while Docker supports comments interspersed with line continuations, sh doesn't, so if such a command contains comments it can't be copied into sh.
There heredoc syntax doesn't have any of these issues; I think it is infinitely better.
(There is also JSON-style syntax, but it requires all backslashes to be doubled and is less popular.)
*In practice "&&" is normally used rather than ";" in order to stop the build if any command fails (otherwise sh only propagates the exit status of the last command). This is actually a small footgun with the heredoc syntax, because it is tempting to just use a newline (equivalent to a semicolon). The programmer must remember to type "&&" after each command, or use `set -e` at the start of the RUN command, or use `SHELL ["/bin/sh", "-e", "-c"]` at the top of the Dockerfile. Sigh...
> Are the line breaks semantic, or is it all a multiline string?
The line breaks are preserved ("what you see is what you get").
> Is EOF a special end-of-file token
You can choose which token to use (EOF is a common convention, but any token can be used). The text right after the "<<" indicates which token you've chosen, and the heredoc is terminated by the first line that contains just that token.
This allows you to easily create a heredoc containing other heredocs. Can you think of any other quoting syntax that allows that? (Lisp's quote form comes to mind.)
> Where is it documented?
The introduction blog post has already been linked. The reference documentation (https://github.com/moby/buildkit/blob/master/frontend/docker...) mentions but doesn't have a formal specification (unfortunately this is a wider problem for Dockerfiles, see https://supercontainers.github.io/containers-wg/ideas/docker... instead it links to the sh syntax (https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...), on which the Dockerfile heredoc syntax is based.
(Good luck looking up this syntax if you don't know what it's called. But that's the same for most punctuation-based syntax.)
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
werf
A solution for implementing efficient and consistent software delivery to Kubernetes facilitating best practices.
Project mention: Is there a CD solution that can be (painlessly) fully automated between stages? | reddit.com/r/kubernetes | 2022-09-08I am looking as well for this kind of tool. I just took a look today by exploring the CNCF landscape this tool : https://werf.io/ , I haven't used it, but it seems to take care of painful stuff like automatic versioning for example. (If someone here tried it, I will be happy to listen to your feedbacks)
-
-
https://github.com/P3GLEG/Whaler <-- that should do what you're looking for. It depends on the image having been generated using a standard Dockerfile approach, but that should work for most images.
-
-
Project mention: Automatically Stop containers when not in use. | reddit.com/r/selfhosted | 2022-12-28
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
-
-
-
-
Project mention: Linka-Cloud/D2vm: Build Virtual Machine Image from Dockerfile or Docker Image | news.ycombinator.com | 2022-11-29
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Go Dockerfile related posts
- Is there any reason not to use 'COPY --from=0 / /' to squash an image?
- How to use BuildKit cache mounts in CI providers
- How to tag base image so images built from it can be tracked
- Looking for Cloud Optimization software/scripts
- Why are BuildKit images taking up way more space??
- Lazytainer question
- Best way to start containers that are only needed occasionally (using docker-compose)
-
A note from our sponsor - #<SponsorshipServiceOld:0x00007fea59a37780>
www.saashub.com | 28 Jan 2023
Index
What are some of the best open-source Dockerfile projects in Go? This list will help you:
Project | Stars | |
---|---|---|
1 | Portainer | 24,326 |
2 | buildkit | 6,308 |
3 | werf | 3,454 |
4 | Habitus | 1,285 |
5 | Whaler | 911 |
6 | mort | 478 |
7 | Lazytainer | 294 |
8 | Starter | 261 |
9 | images | 153 |
10 | Dockerfile-Generator | 138 |
11 | buildkit-nix | 101 |
12 | d2vm | 55 |
13 | golang-dockerfile | 13 |
14 | lazykubectl | 3 |