Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zanata/zanata-docker-files
Docker images for Zanata.
https://github.com/zanata/zanata-docker-files
Last synced: 5 days ago
JSON representation
Docker images for Zanata.
- Host: GitHub
- URL: https://github.com/zanata/zanata-docker-files
- Owner: zanata
- Created: 2015-08-16T07:56:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-02-05T18:48:40.000Z (almost 5 years ago)
- Last Synced: 2024-08-02T12:50:31.800Z (3 months ago)
- Language: Shell
- Homepage: https://hub.docker.com/r/zanata/server/
- Size: 146 KB
- Stars: 20
- Watchers: 12
- Forks: 29
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - zanata/zanata-docker-files - Docker images for Zanata. (others)
README
# Zanata Docker Files
This repository includes files that are necessary to build docker images for Zanata.
* [zanata-server](zanata-server/README.md): Zanata Server docker image.
* [fedora-package](fedora-package/): For Fedora package review and build.
* [image-make](image-make): Script to build non-zanata-server docker images .
* [DockerHelper.py](DockerHelper.py): Script to build zanata-server docker images.For people who are in charge of publishing Zanata docker images,
or interested in customizing Zanata docker images, read on.## Publish Zanata Docker Images
Publish means to build, tag and push images to registry.
Note that only Zanata team is able to publish Zanata docker imagesFirstly, clone this repository and `cd` into the checked out directory.
Then, login to docker from command line:
```sh
docker login
```
If you do not have docker login yet, see section **Login to docker hub Account**.So far, we have `DockerHelper.py` (new script) for zanata-server, and
`image-make` (old script) for everything else.### Publish zanata-server Docker Images
Use `DockerHelper.py` to publish the zanata-server images.For usage:
```sh
./DockerHelper.py -h
```Usually, we can just publish images with 'auto' setting.
```sh
./DockerHelper.py publish server auto
```
It basically means use the latest released zanata-platform version and the next postrelease number.The **postrelease** number is the number that indicates the changes on the `zanata-docker-files`
including changes `Dockerfile` and configuration associated with production docker images.
It start as 1 when it is built for the first time for the released zanata-platform version.For example, `4.4.3-1` means it is the first docker image build against version 4.4.3.
You can also specify the tag like:
```sh
./DockerHelper.py publish server 4.4.3-2
```### Publish other Docker Images
Use `image-make` to build the non-zanata-server image.For usage:
```sh
./image-make -h
```To publish the image from centos-repo-builder:
```sh
./image-make -p centos-repo-builder
```### Login to docker hub Account
If you do not have a Docker Hub account, register at
https://hub.docker.com/ then ask other Zanata team members to add you.You also need to login from the command line at your workstation,
so you can push the image to Docker Hub.Run the following command and enter the docker registry username and password:
```sh
docker login docker.io
```_Note: These images are provided on a best-effort basis. Pull requests are most welcome_
Please report any issues in Zanata's bug tracker: https://zanata.atlassian.net/