Giter Site home page Giter Site logo

a docker:tag goal (or tagBaseImage option on docker:build/push) would be great - so we could tag (or re-tag) after pulling a base image before releasing new images about docker-maven-plugin HOT 2 OPEN

fabric8io avatar fabric8io commented on August 18, 2024
a docker:tag goal (or tagBaseImage option on docker:build/push) would be great - so we could tag (or re-tag) after pulling a base image before releasing new images

from docker-maven-plugin.

Comments (2)

rhuss avatar rhuss commented on August 18, 2024

I wonder how this is different to have a tag in the base image definition:

<build>
   <from>busybox:ubuntu-12.04</from>
   ...
</build>

If I understand you right, you want an extra indirection: Let's say you specify as base image busybox:my-release using a tag my-release which is not available on a registry but only locally. This would be fetched with e.g.:

mvn docker:pull busybox:ubuntu-12.04 -Ddocker.tag=my-release

Is that your use case ?

from docker-maven-plugin.

rhuss avatar rhuss commented on August 18, 2024

Ah, I think I understand a bit more:

You want to have a temporary tag for a (possibly multimodule) build, so that every build uses the same base image version during this build ?

It's not about tagging the base image in the registry, but only locally (and temporarily).

Is that what you think about ?

from docker-maven-plugin.

Related Issues (20)

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.