Docklix
This is a command line tool, created to allow easily running lix commands inside docker.
With docklix you can ensure that your build runs in a consistent environment. Also, you may not need to install some dependencies in your enviroment.
NOTE: currently docklix only support running on predefined docker images
Roadmap
- [x] Running lix command from docker at current directory
- [x] Use current uid and gid
- [ ] Installation with
npmoryarnpkgto allow running without lix or haxelib - [ ] Support run on user defined docker images
- [ ] Allows to select between default images
- [ ] Create images for main docker environments
See hxgrounds/hx-images on gitlab or hxgrounds user on docker hub for the docker images we are developing.
Currently created docker images with lix:
- [x] neko
- [x] nodejs
- [ ] c++
- [ ] c#
- [ ] java
- [ ] python
- [ ] lua
- [ ] php
- [ ] haxelink
- [ ] maybe: swf, as3, js (browser)
How to Use
Install
Install the library using haxelib or lix:
haxelib install docklix
or
lix install haxelib:docklix
Execute
Run docklix similar to how you would use lix.
For example, instead of: lix run munit test -neko
you could use: lix run docklix run munit test -neko
If needed, you can use -- to separate args passed to lix (inside the container)
and the options provided to docklix itself.
For example:
haxelib run docklix -- --help
Contributors
How to compile and test
This project uses the lix package manager. So, to install its dependencies run:
lix download
For nodejs builds, there are dependencies that need to be downloaded. So run:
yarnpkg or npm install
To run the tests, you can use:
lix run munit test -<target>
For example:
lix run munit test -neko
lix run munit test -js
Supported systems
Currently testing on neko and nodejs, but should work with other sys languages.
License
This project is licensed under the MIT non-AI license. See LICENSE.md file.
So the content is this repository is not to be used on AI training datasets or technologies.