Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kpn/docker-avro-tools
Docker container for avro-tools
https://github.com/kpn/docker-avro-tools
avdl avro avro-tools avsc conversion docker
Last synced: 12 days ago
JSON representation
Docker container for avro-tools
- Host: GitHub
- URL: https://github.com/kpn/docker-avro-tools
- Owner: kpn
- License: mit
- Created: 2022-03-22T14:45:56.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-26T14:36:00.000Z (5 months ago)
- Last Synced: 2024-11-07T17:29:53.200Z (2 months ago)
- Topics: avdl, avro, avro-tools, avsc, conversion, docker
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/kpnnl/avro-tools
- Size: 50.8 KB
- Stars: 1
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker-avro-tools
![Docker Image Version (latest by date)](https://img.shields.io/docker/v/kpnnl/avro-tools?label=latest%20version)
Container image for [avro-tools](https://avro.apache.org/docs/1.11.1/getting-started-java/#serializing-and-deserializing-with-code-generation)
avro-tools is part of [apache/avro/lang/java](https://github.com/apache/avro/tree/master/lang/java) library
## Prerequisities
In order to run this container you'll need docker installed.
* [Windows](https://docs.docker.com/windows/started)
* [OS X](https://docs.docker.com/mac/started/)
* [Linux](https://docs.docker.com/linux/started/)## 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](https://github.com/kpn/docker-avro-tools/actions/workflows/publish-container.yml) action
1. Click in `Run workflow`
1. Set the `Version to release`![Input action example](/docs/img/version-to-release.png)
Check for new versions:
- [avro-tools releases](https://github.com/apache/avro/releases)
## Usage examples
### Pull image
```sh
docker pull kpnnl/avro-tools:1.10.0
```### AVDL to AVSC conversion example
Use to validate avro json schemas:
```sh
docker run --rm --user="$(id -u)" -v "$(pwd)":/avro \
kpnnl/avro-tools:1.10.0 \
idl2schemata {file}.avdl {target-folder}
```### Help
Use to validate avro json schemas:
```sh
docker run --rm kpnnl/avro-tools
```## Acknowledgments
* Docker image forked from [brandonstubbs/avro-tools](https://github.com/brandonstubbs/docker-avro-tools)
we republish it for our own convinience