Skip to content

docker images resources generator, include: golang, alpine,ubuntu,jdk,mysql,etc.

License

Notifications You must be signed in to change notification settings

v8fg/docker-compose-resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose Resources

If you have any public images want to build , also can send email or issues, will deal it at my convenience, thks.

Image List

Usage

reference

docker pull [OPTIONS] NAME[:TAG|@DIGEST]

copy file to multi dirs

find . -type d -d 1|grep -v '^\./\.\|scripts'|xargs -n 1 cp -v alpine/Makefile

Project Structure

┌── golang:                         golang related Dockerfile & docker-compose file
    |__ latest:                     golang version latest image dir
        |__ docker-compose.yml:     docker compose file, use to create and start container
        |__ docker-version.sh:      version info for build and push docker image
        |__ Dockerfile:             define the docker image
    |__ latest-upx:                 golang latest version with upx
    |__ Makefile:                   use command make to build, push and run docker images for golang
|___xxx:                            xxx  related Dockerfile & docker-compose file
|__ scripts:                        common scripts
    |__ docker-build.sh:            docker image build script
    |__ docker-clean.sh:            docker images clean, contains none for REPOSITORY or TAG
    |__ docker-push.sh:             docker image push script
    |__ docker-run.sh:              script for run the special version docker image
|__ .gitignore:                     gitignore
|__ Makefile:                       use command make to build and push latest docker image

Docker and DockerCompose Set

Tip

  • alpine 3.14+, need Docker version 20.10.3+

Recommendation

Binaries Install

sudo cp docker/* /usr/bin/

DockerCompose

brew install docker-compose

docker-compose.yml env priority

  • Compose file
  • Shell environment variables(use command source enable set)
  • Environment file
  • Dockerfile
  • Variable is not defined

mirrors site