Skip to content

frezbo/dockerfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dockerfiles

Build and Publish Docker image

Repo for various linux container images.

Inspiration

  • Mostly inspired from Jess Frazelle's dockerfiles repo
  • Rebuild public images to remove shell and make it leaner and secure
  • Build images for repos that doesn't have a dockerfile
  • Automatic dependency updates using Dependabot

Project Structure

  • Sample project structure
.
├── docker-bake.hcl
├── generate_matrix.sh
├── hydroxide
│   ├── Dockerfile
│   ├── go.mod
│   ├── go.sum
│   └── README.md
├── LICENSE
├── README.md
└── vaultwarden
    ├── Dockerfile
    ├── README.md
    └── test.sh

Each folder contains a Dockerfile, a README.md, and an optional test.sh

The go.mod is used to declare a weak dependency on upstream projects so that Dependabot can manage updates.

generate_matrix.sh is used to dynamically generate a GitHub actions matrix. The matrix is generated only on either Dockerfile or go.mod file changes.

The container image tags follow the upstream releases. The version is extracted from either Dockerfile or go.mod by generate_matrix.sh and passed on to buildx as VERSION build-arg. Ref

About

Leaner and more secure container images for personal use

Resources

License

Stars

Watchers

Forks

Releases

No releases published