https://github.com/leesei/docker-kaitai-struct-compiler
`kaitai-struct-compiler` containerized
https://github.com/leesei/docker-kaitai-struct-compiler
docker-image kaitai-struct
Last synced: over 1 year ago
JSON representation
`kaitai-struct-compiler` containerized
- Host: GitHub
- URL: https://github.com/leesei/docker-kaitai-struct-compiler
- Owner: leesei
- License: mit
- Created: 2018-09-12T09:59:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-13T02:10:47.000Z (almost 8 years ago)
- Last Synced: 2025-01-17T22:33:47.885Z (over 1 year ago)
- Topics: docker-image, kaitai-struct
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/leesei/kaitai-struct-compiler/
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A containerized `kaitai-struct-compiler`, with related tools bundled.
Debian Jessie is used as base image for the balance between size and availability of 3rd party tools.
Features:
- `graphviz`
- `ksc` symlink
## Build Image
```sh
docker build . -t kaitai-struct-compiler
```
## Usage
Since the tools will read and write file to disk, this image work by the user logging into the container (`docker run -it`) and mounting some folder for I/O.
```sh
docker run -it --rm \
-u $(id -u):$(id -g) \
-v $(pwd):/pwd \
kaitai-struct-compiler
# in container
ksc file.ksy -t all
ksc file.ksy -t graphviz
dot -Tpng -o file.png file.dot
```