GithubHelp home page GithubHelp logo

v8fg / docker-compose-resources Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 2.0 458 KB

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

License: MIT License

Makefile 33.01% Dockerfile 32.65% Shell 34.34%
docker docker-image dockerfiles docker-compose docker-container dockerfile golang-image golang ubuntu ubuntu-tensorflow

docker-compose-resources's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.