All Projects β†’ 32b β†’ docker-get

32b / docker-get

Licence: other
pull* docker images from git repositories

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to docker-get

essex
Essex - Boilerplate for Docker Based Projects
Stars: ✭ 32 (+28%)
Mutual labels:  dockerfiles, docker-builder
dockerfiles
🐳 Collection of dockerfiles and automated docker hub builds
Stars: ✭ 21 (-16%)
Mutual labels:  dockerfiles
opcode-analysis
A set of Docker images to test out PHP code against the interpreter to see the resulting opcodes with multiple PHP versions.
Stars: ✭ 14 (-44%)
Mutual labels:  dockerfiles
dockerfiles
A collection of Dockerfiles
Stars: ✭ 103 (+312%)
Mutual labels:  dockerfiles
dockerfiles
Repository for my public Docker images.
Stars: ✭ 22 (-12%)
Mutual labels:  dockerfiles
ketos
Cross Container Builder (Ketos), a tasting project for Go Hackathon 2017 Shanghai. This project aims to help you building a docker image in CI platform better.
Stars: ✭ 20 (-20%)
Mutual labels:  docker-builder
dockerfiles
Dockerfiles for all LSPs used with lspcontainers.
Stars: ✭ 40 (+60%)
Mutual labels:  dockerfiles
docker-images
All my docker images in one mono-repository with multi-arch support
Stars: ✭ 18 (-28%)
Mutual labels:  dockerfiles
Containerization-Automation
Study and Use of Containers and Automation Tools
Stars: ✭ 45 (+80%)
Mutual labels:  dockerfiles
dockerfiles
Dockerfiles for various things
Stars: ✭ 37 (+48%)
Mutual labels:  dockerfiles
docker
Docker containers of elementary OS environments and related tools primarily used in Travis Continuous Integration Automated Testing
Stars: ✭ 18 (-28%)
Mutual labels:  dockerfiles
docker-bakery
Dockerfile hierarchy management tool with automatic rebuilding of dependent images when parent changes
Stars: ✭ 30 (+20%)
Mutual labels:  dockerfiles
dockerfile-language-service
Dockerfile language service for providing an API to create feature-rich Dockerfile editors in JavaScript.
Stars: ✭ 15 (-40%)
Mutual labels:  dockerfiles
kubernetes-jmeter
Jmeter test workload on kubernetes deployed via helm charts – Please [✩Star] if you're using it ;)
Stars: ✭ 61 (+144%)
Mutual labels:  dockerfiles
st2-dockerfiles
StackStorm Dockerfiles (one-service-per-container) to build and push images to the StackStorm Docker registry. Used by stackstorm-ha K8s Helm chart and Docker-compose deployments.
Stars: ✭ 16 (-36%)
Mutual labels:  dockerfiles
dockerfiles
Dockerfiles I use for development
Stars: ✭ 64 (+156%)
Mutual labels:  dockerfiles
git-pull-or-clone
Ensure a git repo exists on disk and that it's up-to-date
Stars: ✭ 46 (+84%)
Mutual labels:  pull
git-cheatsheet
One stop guide to help solve all your doubts related to Git & GitHub.
Stars: ✭ 31 (+24%)
Mutual labels:  pull
containers
Repo containing the dockerfiles and scripts to produce the official eclipse-temurin containers.
Stars: ✭ 73 (+192%)
Mutual labels:  dockerfiles
react-native-pullview
scrollview&&FlatList Pull refresh and loadmore
Stars: ✭ 26 (+4%)
Mutual labels:  pull

docker-get

Like go get, but for docker.

Features

  • Pull* docker images from git repositories.
  • Repository URL + path in repo is mapped to the docker image name.
  • Git tags / branches / commit ids are mapped to docker image tags.
  • Supports any repository your git can pull.
  • Git cache in $DOCKERPATH (by default ~/.docker-get).
  • Portable: written in 100% POSIX sh

*(git pull and docker build)

Get it

  • Download the latest version and make it executable:

    curl -LO https://raw.githubusercontent.com/32b/docker-get/latest/docker-get
    chmod +x ./docker-get
    
  • A pre-built docker image is also available:

    docker pull quay.io/sergey_grebenshchikov/docker-get:latest
    
  • If you already have docker-get and just want to update the image:

    docker-get https://github.com/32b/docker-get
    

Use it

docker-get URL[:TAG]

Any further arguments/flags are passed to docker build.

Example

$ docker-get github.com/codemy/dockerfile/redis:master
[docker-get] fetching ./redis (master) from https://github.com/codemy/dockerfile ...
    Initialized empty Git repository in /Users/sgreben/.docker-get/github.com/codemy/dockerfile/.git/
    POST git-upload-pack (192 bytes)
    remote: Counting objects: 141, done.
    remote: Total 141 (delta 0), reused 0 (delta 0), pack-reused 141
    Receiving objects: 100% (141/141), 43.30 KiB | 183.00 KiB/s, done.
    Resolving deltas: 100% (53/53), done.
    From https://github.com/codemy/dockerfile
    * [new branch]      master     -> origin/heads/master
    * [new branch]      master     -> origin/master
[docker-get] done
[docker-get] building github.com/codemy/dockerfile/redis:master...
    Sending build context to Docker daemon  216.1kB
    Step 1/3 : FROM redis:3.0.7-alpine
    ---> 856249f48b0c
    Step 2/3 : COPY configs/* /configs/
    ---> Using cache
    ---> 6e1cba40af34
    Step 3/3 : CMD ["redis-server", "/configs/1gb-ram.conf"]
    ---> Using cache
    ---> 4d28b4b3ba29
    Successfully built 4d28b4b3ba29
    Successfully tagged github.com/codemy/dockerfile/redis:master
    Successfully tagged github.com/codemy/dockerfile/redis:latest
[docker-get] done

$ docker run -it github.com/codemy/dockerfile/redis:master
                _._
           _.-``__ ''-._
      _.-``    `.  `_.  ''-._           Redis 3.0.7 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 1
  `-._    `-._  `-./  _.-'    _.-'
...

$ tree $DOCKERPATH
/Users/sgreben/.docker-get
└── github.com
    └── codemy
        └── dockerfile
            └── redis
                β”œβ”€β”€ Dockerfile
                β”œβ”€β”€ README.md
                └── configs
                    β”œβ”€β”€ 0.25gb-ram.conf
                    β”œβ”€β”€ 0.5gb-ram.conf
                    β”œβ”€β”€ 1gb-ram.conf
                    β”œβ”€β”€ 3gb-ram.conf
                    └── 5gb-ram.conf

Comments

Feel free to leave a comment or create an issue.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].