mirror of
https://github.com/friendica/docker
synced 2025-02-06 19:51:37 +01:00
Adding doc for build_and_push script
This commit is contained in:
parent
19a99bd270
commit
4d9b882a5c
1 changed files with 11 additions and 5 deletions
|
@ -12,9 +12,7 @@ All changes in such folders will get overwritten during an update.
|
||||||
|
|
||||||
# Maintenance scripts
|
# Maintenance scripts
|
||||||
|
|
||||||
There are two important scripts in this repository for maintenance.
|
# `update.sh`
|
||||||
|
|
||||||
## update.sh
|
|
||||||
|
|
||||||
Creates a directory and the necessary files for each combination of version (2018.05-rc, 3.6, ...) and variant (apache, fpm, fpm-alpine):
|
Creates a directory and the necessary files for each combination of version (2018.05-rc, 3.6, ...) and variant (apache, fpm, fpm-alpine):
|
||||||
|
|
||||||
|
@ -31,7 +29,7 @@ versions=(
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
# generate-stackbrew-library.sh
|
# `generate-stackbrew-library.sh`
|
||||||
|
|
||||||
This file automatically creates a "manifest" for the docker-images.
|
This file automatically creates a "manifest" for the docker-images.
|
||||||
Like:
|
Like:
|
||||||
|
@ -56,4 +54,12 @@ Architectures: amd64, arm32v6, arm64v8, i386, ppc64le, s390x
|
||||||
GitCommit: b46fae917321394e1482df59dc4e39daffbe5c59
|
GitCommit: b46fae917321394e1482df59dc4e39daffbe5c59
|
||||||
Directory: 2018.05-rc/fpm-alpine
|
Directory: 2018.05-rc/fpm-alpine
|
||||||
This is the input-file for the official-images in a later step :-)
|
This is the input-file for the official-images in a later step :-)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# `build_and_push.sh`
|
||||||
|
|
||||||
|
This file automatically builds and publish all docker image variants (amd64, x86) and versions (stable, latest, dev, ...)
|
||||||
|
|
||||||
|
It uses [bashbrew](https://github.com/docker-library/official-images/tree/master/bashbrew) for building and publishing and `generate-stackbrew-library.sh` for the definition (manifest) what to build and publish.
|
||||||
|
|
||||||
|
See [Instruction format](https://github.com/docker-library/official-images/blob/master/README.md#instruction-format) for more background information.
|
Loading…
Reference in a new issue