was created in order to not pollute my system with Ruby just in order to compile some .scss files.
It has no entrypoint specified so user can launch any of the following binaries:
I recommend creating simple bash script files and putting them to /home//bin folder (valid for Ubuntu)
#!/bin/bash
docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) michaelkuk/compass ruby $@
#!/bin/bash
docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) michaelkuk/compass sass $@
#!/bin/bash
docker run --rm -it -v $(pwd):$(pwd) -w $(pwd) michaelkuk/compass compass $@
You can verify that the scripts are working by checking versions of all above.
source ~/.profile
ruby -v
sass -v
compass -v
If you are having issues launching the scripts try the following commands:
chmod +x /home/<USER>/bin/sass
chmod +x /home/<USER>/bin/compass
chmod +x /home/<USER>/bin/ruby
Content type
Image
Digest
sha256:b69530cf6…
Size
267.9 MB
Last updated
almost 11 years ago
docker pull michaelkuk/compass