nowfound

Dev tools · May 12, 2022

DG

Dockerfile Generator

While it's not hard to write a Dockerfile, I think it's hard to write a good one. Every language has its own quirks, and every framework has a special way of building things. I was looking for a collection of well-written and well-maintained Dockerfiles, but I couldn't find one. Thus, I thought of creating one! I realized it's not enough to have a simple Dockerfile. Sometimes you need other files for your build: nginx.conf, php.ini, my.cnf, etc. I also realized that people have different preferences. In Node, some use NPM, some use YARN, some use PNPM. In PHP, some use Apache, some use FPM…

What it does

In the maker’s words, at launch

While it's not hard to write a Dockerfile, I think it's hard to write a good one. Every language has its own quirks, and every framework has a special way of building things. I was looking for a collection of well-written and well-maintained Dockerfiles, but I couldn't find one. Thus, I thought of creating one! I realized it's not enough to have a simple Dockerfile. Sometimes you need other files for your build: nginx.conf, php.ini, my.cnf, etc. I also realized that people have different preferences. In Node, some use NPM, some use YARN, some use PNPM. In PHP, some use Apache, some use FPM with Nginx. So I build a set of "builders", Dockerfile generators. You define a form using JSON Schema, and then define a function "generate" that returns an array of files. In the future, I can make a CLI tool that will generate prompts, similar to how the form is generated on the web. For now, I only implemented a builder for Next.js based on their official Dockerfile example. Source-Code: https://github.com/easypanel-io/builders Playground: https://easypanel-builders.netlify.app/ --- 1. Do you have any feedback for this project? 2. Can you link some good Dockerfiles that I should include?

Does the same job

all alternatives →
  • Hosting by webapp.io 2023 · ▲105

    Global CDN, zero config TLS, free custom domains

  • zeroApr 2026 · ▲94

    One command to deploy Docker containers to your own server

  • DI
  • DF
    Depot – fast, remote Docker container builds2022 · depot.dev · ▲141

    Hey HN! We’re Kyle and Jacob and we are excited to show you Depot (https://depot.dev) and get your feedback! Depot is a hosted Docker container build service, providing fully managed remote builds from CI and from your terminal. We support both Intel and Arm builds natively. As application and platform engineers, we have experienced the challenge of keeping Docker container build times fast. From optimizing and reoptimizing Dockerfiles, to implementing layer caching in CI, to running & maintaining custom runners for multi-platform images. Still today, there are limitations with the…

  • DR
    Dockerized – Run CLI tools without installation2022 · github.com · ▲78

    Dockerized is like npx for unix tools: Run popular cli tools without installation. Example: dockerized npm init dockerized python2 somescript.py Run an older version of a tool: NODE_VERSION=15.0 dockerized node Use cases: - Maintaining multiple versions of an app - Installing without polluting host machine - Quickly run some commands you may not have installed Features: - intuitive use. Just the original command, but with 'dockerized' in front. - dockerized apps can access the current directory and read/modify files, just like native apps. - no need to know which docker image this…

  • DD
    DCPM – Docker Compose Package Manager2020 · ▲59

    Hey y'all, I've been using docker compose a lot in my local network, and managing setup between machines is a bit of a pain in the ass for me. I wanted an easy way to share complex configurations. At the moment most docker compose package management is done by adding a docker-compose.yml to your repo, adding a bunch of setup instructions, and hoping they are well followed. This didn't feel like a smart way to go about it to me. I wanted to create a way to create a complex package, say a series of related or linked services, and provide some meaningful way to have users install it. That's why…

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

Launched alongside, May 2022

the whole month →