Skip to content

Commit

Permalink
Rebuild using docker-template v1.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
MickMake committed Apr 1, 2020
1 parent f5badfd commit a71fc0f
Show file tree
Hide file tree
Showing 47 changed files with 599 additions and 572 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*/logs/*.log
.*.swp
*.OLD
docker-template
Expand Down
33 changes: 0 additions & 33 deletions 1.12.2/.env

This file was deleted.

Empty file removed 1.12.2/logs/.keep
Empty file.
33 changes: 0 additions & 33 deletions 1.13.12/.env

This file was deleted.

45 changes: 0 additions & 45 deletions 1.13.12/gearbox.json

This file was deleted.

Empty file removed 1.13.12/logs/.keep
Empty file.
33 changes: 0 additions & 33 deletions 1.14.2/.env

This file was deleted.

45 changes: 0 additions & 45 deletions 1.14.2/gearbox.json

This file was deleted.

Empty file removed 1.14.2/logs/.keep
Empty file.
33 changes: 0 additions & 33 deletions 1.15.9/.env

This file was deleted.

45 changes: 0 additions & 45 deletions 1.15.9/gearbox.json

This file was deleted.

Empty file removed 1.15.9/logs/.keep
Empty file.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ endif

################################################################################
# Image related commands.
.DEFAULT:
@make -k help

default: all

all:
Expand All @@ -65,6 +68,8 @@ all:
help:
@echo "################################################################################"
@echo "init - Initialize repository from TEMPLATE."
@echo "update - Update repository TEMPLATE."
@echo "git-release - Generate a repository release."
@echo ""
@echo "clean-[all | <VERSION>] - Clean runtime container image."
@echo "build-[all | <VERSION>] - Generate runtime container image."
Expand Down Expand Up @@ -102,6 +107,15 @@ init: *.json
@./bin/create-version.sh "all"


################################################################################
update:
@./bin/TemplateUpdate.sh
@make init

git-release:
@./bin/TemplateRelease.sh


################################################################################
info:
@./bin/$@.sh $(VERSION)
Expand Down
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
![Gearbox](https://github.com/gearboxworks/gearbox.github.io/raw/master/Gearbox-100x.png)
![Gearbox](https://raw.githubusercontent.com/gearboxworks/gearboxworks.github.io/master/assets/images/gearbox-logo.png)


# Another [Gearbox](https://github.com/gearboxworks/) Docker container service - nginx
This is the repository for the [nginx](<no value>) Docker container implemented for [Gearbox](https://github.com/gearboxworks/).
# nginx Docker container service for [Gearbox](https://github.com/gearboxworks/)
This is the repository for the [nginx](unknown) Docker container implemented for [Gearbox](https://github.com/gearboxworks/).


## Repository Info
Expand All @@ -12,13 +12,12 @@ GitHub release(latest): ![last-release-date](https://img.shields.io/github/relea


## Supported versions and respective Dockerfiles
| Service | GitHub Version | Docker Version | Docker Size | Docker Tags | Dockerfile |
| ------- | -------------- | -------------- | ----------- | ----------- | ---------- |
| nginx | ![nginx](https://img.shields.io/badge/nginx-1.12.2-green.svg) | ![Docker Version)](https://img.shields.io/docker/v/gearboxworks/nginx/1.12.2) | ![Docker Size](https://img.shields.io/docker/image-size/gearboxworks/nginx/1.12.2) | `1.12.2`, `1.12` | _([1.12.2/DockerfileRuntime](https://github.com/gearboxworks/docker-nginx/blob/master/1.12/DockerfileRuntime))_ |
| nginx | ![nginx](https://img.shields.io/badge/nginx-1.13.12-green.svg) | ![Docker Version)](https://img.shields.io/docker/v/gearboxworks/nginx/1.13.12) | ![Docker Size](https://img.shields.io/docker/image-size/gearboxworks/nginx/1.13.12) | `1.13.12`, `1.13` | _([1.13.12/DockerfileRuntime](https://github.com/gearboxworks/docker-nginx/blob/master/1.13/DockerfileRuntime))_ |
| nginx | ![nginx](https://img.shields.io/badge/nginx-1.14.2-green.svg) | ![Docker Version)](https://img.shields.io/docker/v/gearboxworks/nginx/1.14.2) | ![Docker Size](https://img.shields.io/docker/image-size/gearboxworks/nginx/1.14.2) | `1.14.2`, `1.14` | _([1.14.2/DockerfileRuntime](https://github.com/gearboxworks/docker-nginx/blob/master/1.14/DockerfileRuntime))_ |
| nginx | ![nginx](https://img.shields.io/badge/nginx-1.15.9-green.svg) | ![Docker Version)](https://img.shields.io/docker/v/gearboxworks/nginx/1.15.9) | ![Docker Size](https://img.shields.io/docker/image-size/gearboxworks/nginx/1.15.9) | `1.15.9`, `1.15`, `latest` | _([1.15.9/DockerfileRuntime](https://github.com/gearboxworks/docker-nginx/blob/master/1.15/DockerfileRuntime))_ |

| Service | GitHub Version | Docker Version | Docker Size | Docker Tags |
| ------- | -------------- | -------------- | ----------- | ----------- |
| [nginx](unknown) | ![nginx](https://img.shields.io/badge/nginx-1.12.2-green.svg) | ![Docker Version)](https://img.shields.io/docker/v/gearboxworks/nginx/1.12.2) | ![Docker Size](https://img.shields.io/docker/image-size/gearboxworks/nginx/1.12.2) | _([`1.12.2`, `1.12`](https://github.com/gearboxworks/docker-nginx/blob/master/1.12/DockerfileRuntime))_ |
| [nginx](unknown) | ![nginx](https://img.shields.io/badge/nginx-1.13.12-green.svg) | ![Docker Version)](https://img.shields.io/docker/v/gearboxworks/nginx/1.13.12) | ![Docker Size](https://img.shields.io/docker/image-size/gearboxworks/nginx/1.13.12) | _([`1.13.12`, `1.13`](https://github.com/gearboxworks/docker-nginx/blob/master/1.13/DockerfileRuntime))_ |
| [nginx](unknown) | ![nginx](https://img.shields.io/badge/nginx-1.14.2-green.svg) | ![Docker Version)](https://img.shields.io/docker/v/gearboxworks/nginx/1.14.2) | ![Docker Size](https://img.shields.io/docker/image-size/gearboxworks/nginx/1.14.2) | _([`1.14.2`, `1.14`](https://github.com/gearboxworks/docker-nginx/blob/master/1.14/DockerfileRuntime))_ |
| [nginx](unknown) | ![nginx](https://img.shields.io/badge/nginx-1.15.9-green.svg) | ![Docker Version)](https://img.shields.io/docker/v/gearboxworks/nginx/1.15.9) | ![Docker Size](https://img.shields.io/docker/image-size/gearboxworks/nginx/1.15.9) | _([`1.15.9`, `1.15`, `latest`](https://github.com/gearboxworks/docker-nginx/blob/master/1.15/DockerfileRuntime))_ |


## Using this container.
Expand All @@ -45,7 +44,7 @@ Simply clone this repository to your local machine
`make push` - Push already built Docker images to Docker Hub, (only for Gearbox admins). Push all versions from the base directory or specific versions from each directory.

### Runtime from GitHub repo
When you `cd` into a version directory you can also perform a few more actions.
You can either build your container as above, or use it from DockerHub with these commands:

`make start` - Spin up a Docker container with the correct runtime configs.

Expand Down
14 changes: 14 additions & 0 deletions TEMPLATE/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ endif

################################################################################
# Image related commands.
.DEFAULT:
@make -k help

default: all

all:
Expand All @@ -65,6 +68,8 @@ all:
help:
@echo "################################################################################"
@echo "init - Initialize repository from TEMPLATE."
@echo "update - Update repository TEMPLATE."
@echo "git-release - Generate a repository release."
@echo ""
@echo "clean-[all | <VERSION>] - Clean runtime container image."
@echo "build-[all | <VERSION>] - Generate runtime container image."
Expand Down Expand Up @@ -102,6 +107,15 @@ init: *.json
@./bin/create-version.sh "all"


################################################################################
update:
@./bin/TemplateUpdate.sh
@make init

git-release:
@./bin/TemplateRelease.sh


################################################################################
info:
@./bin/$@.sh $(VERSION)
Expand Down
Loading

0 comments on commit a71fc0f

Please sign in to comment.