spotify / docker-maven-plugin

INACTIVE: A maven plugin for Docker
Apache License 2.0
2.66k stars 575 forks source link

Docker image as a file #419

Closed Smiche closed 5 years ago

Smiche commented 5 years ago

Description

Is there a goal allowing to create a docker image file in stead of pushing to a repository?

How to reproduce

Example of docker cli: docker save -o fedora-latest.tar fedora:latest

What do you expect

A maven argument to save the image as a file to target: mvn clean package docker:build -DImageFile

What happened instead

Software:

Smiche commented 5 years ago

nevermind

   saveImageToTarArchive
      File path to save image as a tar archive after it is built.
      User property: saveImageToTarArchive