Provides the Kaitai Struct Compiler. Can be used either by mounting a volume or in a multistage build process.
Basic knowledge of Docker
- Running docker containers
- Docker volume mount
Pull image
docker pull davefr/kaitai-ksc:release-1.0.0
Build parser in target_language
. Folder on host containing the Kaitai Struct language file ( .ksy ) at absolute path absolute_path_to_kaitai_folder
docker run -it -v {absolute_path_to_kaitai_folder}/kaitai:/usr/src davefr/kaitai-ksc:release-1.0.0 javascript {ksy_file} {target_language} {ksy_file_path}
The parser file ( in the target language ) is now present in the absolute_path_to_kaitai_folder
Ex : Build parser to decode GIF format from /home/bob/kaitai/gif/GIF.ksy
file in javascript
docker run -it -v /home/bob/kaitai/gif/GIF.ksy:/usr/src davefr/kaitai-ksc:release-1.0.0 javascript javascript ./GIF.ksy
- DockerHub - Official Docker image repository
We use SemVer for versioning. For the versions available, see the tags on this repository.
- David Guibert - Initial work
See also the list of contributors who participated in this project.
This project is licensed under the GNU GENERAL PUBLIC LICENSE - see the LICENSE.md file for details