Git Product home page Git Product logo

build-docker's Introduction

wso2-jenkins-slave

WSO2 Jenkins docker container based builds are run on a Docker image built with this Dockerfile. Here, with the help of Jenkins Docker plugin, dynamically slave containers are spawned for each build and destroyed after the build.

If you are connecting to the docker instance remotely, then set the docker host info and the --tlsverfify flag.

docker -H=127.0.0.1:2376 --tlsverify build -t wso2-jenkins-slave:latest -t wso2-jenkins-slave:1.0 .

Now, you have the docker image added to your local docker instance.

  • If you have a docker registry, then you can push the newly built docker image there such that your other builds can use it. This is optional. Otherwise, you can go to each VM, and build the docker image.

    • Login to the docker registry

    docker login mydockerhub.example.com

    • Name your docker image appropriately

    docker tag wso2-jenkins-slave:1.0 mydockerhub.example.com/kasung-wso2-jenkins-slave

    • Now, push the image to your docker registry

    docker push mydockerhub.example.com/kasung-wso2-jenkins-slave

    • Once that is done, go to VMs that you are going to use for docker-based Jenkins builds. Run the following command to pull the newly created docker image.

    docker pull mydockerhub.example.com/kasung-wso2-jenkins-slave

build-docker's People

Contributors

anugayan avatar gayashanbc avatar hasithakn avatar jkaushalya avatar jsdjayanga avatar kasunbg avatar kavinduzoysa avatar maheshika avatar mohanvive avatar nipunibhagya avatar nirothipan avatar niveathika avatar npamudika avatar piraveena avatar ridmir avatar somindatommy avatar tharinduwijewardane avatar thuva9872 avatar tmkasun avatar uvindra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.