docklix

A tool to run lix commands inside a docker container.

To install, run:

haxelib install docklix 0.1.0 

See using Haxelib in Haxelib documentation for more information.

README.md

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 npm or yarnpkg to 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.

Contributors
hxgrounds
Version
0.1.0
Published
3 years ago
Dependencies
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub

⌂