Skip to content

kpn/docker-avro-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-avro-cli

Docker Image Version (latest by date)

Container image for avro-cli

Prerequisities

In order to run this container you'll need docker installed.

How to create a new release

The idea of this repository is for the maintainers to trigger a github action, in order to release a new version of the container, if there's a new version of the tool.

If you are not a maintainer, open a new issue and we will release a new version.

To release a new version:

  1. Go to the Publish Docker image action
  2. Click in Run workflow
  3. Set the Version to release

Input action example

Check for new versions:

Usage examples

Pull image

docker pull kpnnl/avro-cli:0.2.7

Validation example

Use to validate avro json schemas:

docker run --rm --user="$(id -u)" -v "$(pwd)":/avro \
    kpnnl/avro-cli:0.2.7 \
    validate -c BACKWARD --schema {newfile}.asvc --previousSchema {oldfile}.asvc

Help

Use to validate avro json schemas:

docker run --rm kpnnl/avro-cli

Acknowledgments