Public Repository

Last pushed: 2 years ago
Short Description
Simple less compiler container.
Full Description

Less Compiler

Create a helper script (~/bin/lessc)


docker run --rm -v $(pwd):/$(pwd) minty/lessc $@

Then run the script for any less files:

% lessc style.less > style.css
Docker Pull Command

Comments (1)
2 years ago

to get this working you need to set the working directory -w $(pwd) and if you also add -u then the created files have the right owner:
docker run --rm -v $(pwd):/$(pwd) -w $(pwd) -u $(id -u) minty/lessc $@