Skip to content

Template for creating a new docker-based repository

License

Notifications You must be signed in to change notification settings

castacks/Docker-Repository-Template

 
 

Repository files navigation

New Docker Repository

pre-commit

Dependencies

Usage Guidelines

Base Repo

  1. Change LICENSE if necessary

  2. Modify .pre-commit-config.yaml according to your need

  3. Modify/add GitHub workflow status badges in README.md

Docker Config

  1. Modify DOCKER_USER, IMAGE_NAME in .env

  2. Modify the service name from default to your service name in docker-compose.yml

  3. Update Dockerfile

  4. build.sh to build and test the image locally in your machine's architecture

  5. push.sh to push the multi-arch image to the registry

Developer Quick Start

Note

  • This template currently only supports docker image for amd64 and arm64, if you want to support other architectures, please modify the build.sh script and docker-compose.yml accordingly

About

Template for creating a new docker-based repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 96.2%
  • Dockerfile 3.8%