Stylus task runner
docker run -it --rm \
-v [path/to/source/dir]:/inputfiles \
-v [path/to/build/dir]:/outputfiles \
--name stylus"$(date +%N)" \
gruen/stylus \
[options] /inputfiles/[main].styl \
-o /outputfiles/[buildname].css
For example, if you want to use watch
docker run -it --rm \
-v [path/to/source/dir]:/inputfiles \
-v [path/to/build/dir]:/outputfiles \
--name stylus"$(date +%N)" \
gruen/stylus \
-w /inputfiles/[main].styl \
-o /outputfiles/[buildname].css
For available options run
docker run -it --rm --name stylus"$(date +%N)" gruen/stylus --help
ctrl+c, docker stop [stylus container], Neither seem to work. Only luck has been with docker kill [stylus container]Content type
Image
Digest
Size
26.7 MB
Last updated
about 7 years ago
docker pull gruen/stylus