Skip to content

manzil-infinity180/dfc-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dfc

dockerfile converter

UI to convert Dockerfiles to use Chainguard Images

Screen.Recording.2025-08-05.at.11.54.40.PM.mov

About the dfc UI/CLI

DFC-UI is a web-based user interface built on top of the dfc CLI tool using its Go SDK. It allows you to convert Dockerfiles to use Chainguard Images and replace FROM and RUN lines with secure, minimal base images and APK-based commands — all via your browser.

The dfc tool helps you migrate traditional Dockerfiles to use Chainguard Images and APK packages instead of bulky base images or unsafe dependency installs. It's built to improve container image security and reproducibility.

📖 Learn more:


Features

  • 📁 Upload a Dockerfile directly from your computer
  • 🧠 See side-by-side diffs between your original and converted Dockerfile
  • ✍️ Edit the original Dockerfile before conversion
  • 🔁 Convert multiple times with different versions
  • ⚙️ Built with Next.js (UI) + Go (API using dfc SDK)

Getting Started (Local Dev)

# Clone the repo
git clone https://github.com/yourusername/dfc-ui.git
cd dfc-ui

# Start the UI
cd ui
npm install
npm run dev
> This starts the Next.js frontend on http://localhost:3000

# Start the API server (Backend)
cd api
go mod download
go run main.go
> The backend runs on http://localhost:8000

How to Convert Dockerfiles (in the UI)

Screenshot 2025-08-06 at 12 13 30 AM

Contributing 🎉

Contributions are welcome! If you'd like to improve the UI, add error handling, or enhance conversion features — open a PR or file an issue.

image

Author

Built with 💙 by Rahul Vishwakarma

About

dfc-ui(chainguard): UI to convert Dockerfiles to use Chainguard Images

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •