Coder Social home page Coder Social logo

christianlohmann / podman-maven-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lexemmens/podman-maven-plugin

0.0 1.0 0.0 1.43 MB

Podman Maven Plugin - A simple plugin to build, tag and push container images configured with a Dockerfile and built using Podman

License: Apache License 2.0

Java 99.75% HTML 0.01% Dockerfile 0.24%

podman-maven-plugin's Introduction

Java CI with Maven Quality Gate Status Coverage Maven Central

Podman Maven Plugin

A maven plugin to build, tag and push OCI compliant images configured using a Dockerfile/Containerfile using Podman.

About

This plugin was created based on the need to build container images with Podman, whilst not having an appropriate plugin to do so. Initially using the docker-maven-plugin from fabric8io it quickly became clear that simply swapping Docker for Podman (alias docker=podman) did not work as the plugin requires a Docker outlet to communicate with. With other plugins currently not yet available, the idea was born.

This plugin uses a ProcessExecutor from ZeroTurnaround to do its magic under water. Although this plugins' structure is similar to that from the docker-maven-plugin, its implementation is not. In an effort to keep things simple, I have chosen to use a ProcessExecutor to run podman rather than implementing the logic myself.

Also, only a subset of the podmans capabilities have been implemented (build, push and save).

This plugin is mainly inspired by the docker-maven-plugin and shows some similarities in configuration.

Goals

Goal Description Default Lifecycle Phase
podman:build Build images install
podman:push Push images to a registry deploy
podman:copy Copy images from the registry used during push to a configured registry (uses skopeo instead of podman) deploy
podman:clean Clean up local storage clean
podman:save Save image to a file

Documentation

The manual of this plugin is available on GitHub Pages

Contributing

Feel free to open a Pull Request if you want to contribute!

podman-maven-plugin's People

Contributors

basvandenbrink avatar cruwe avatar dehecht avatar lexemmens avatar rlenferink avatar sirchia avatar vanmegenniels 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.