Giter Club home page Giter Club logo

zanata-docker-files's Introduction

Zanata Docker Files

This repository includes files that are necessary to build docker images for Zanata.

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 images

Firstly, clone this repository and cd into the checked out directory. Then, login to docker from command line:

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:

./DockerHelper.py -h

Usually, we can just publish images with 'auto' setting.

./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:

./DockerHelper.py publish server 4.4.3-2

Publish other Docker Images

Use image-make to build the non-zanata-server image.

For usage:

./image-make -h

To publish the image from centos-repo-builder:

./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:

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/

zanata-docker-files's People

Contributors

carlosmunoz avatar daspawnw avatar definite avatar djansen-redhat avatar mavimo avatar pjt33 avatar seanf avatar slavikz avatar tholu avatar thopiekar avatar

Watchers

 avatar

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.