Giter Club home page Giter Club logo

gradle-docker-plugin-example's Introduction

Gradle-Docker-Plugin example

Gradle logo Docker logo

Example project showing some use cases of the gradle-docker-plugin.

See the build.gradle file in the project root for detailed task configuration. Most configuration parameters are optional.

The root project only contains the most trivial tasks info and version. More advanced use cases can be found in the subprojects:

  • publish shows a very convenient way to build and push an image to one or more registries.
  • build-with-dockerignore shows how to use the .dockerignore file to exclude the Gradle build directory or other files.
  • build-and-run-locally shows a simple use case with an image being build and run as a container locally.
  • build-push-and-run-remotely shows a more advanced use case including a private registry.
  • push-and-pull-with-auth shows how to use the default ~/.dockercfg for registry authentication.
  • run-exec-and-copy-locally shows how to exec commands in a running container and how to copy files from a container.
  • container-lifecycle shows how to maintain container state, similar to tools like Ansible, where you declare the desired target state.

gradle-docker-plugin-example's People

Contributors

gesellix avatar

Watchers

James Cloos avatar Dejan Stojadinović 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.