Sign inSign up

pablofelix/rpi-sass

By pablofelix

•Updated about 9 years ago

sass for rpi-zero, rpi, armv6

Image
0

1.3K

pablofelix/rpi-sass repository overview

docker-sass Two ways to use this docker image from command line:

sass command help

docker run -d --rm sass -h

1- Working like sass -watch, will create two directories sass and css also will create a main file called style.scss if you haven't in your path. style.scss will be project's main file for scss:

docker run -d --name sass -e "ENV=watch" -v $(pwd):/app pablofelix/sass

if you are a mac user-> $PWD must begin in /Users/ directory

2- Using image as a sass command

docker run --rm -v $(pwd):$(pwd) -w $(pwd) pablofelix/sass <<whatever.scss>>

if you want to save the css file:

docker run --rm -v $(pwd):$(pwd) -w $(pwd) pablofelix/sass whatever.scss whatever.css

using docker sass in terminal: alias sass=docker run --rm -v $(pwd):$(pwd) -w $(pwd) pablofelix/sass

sass whatever.scss whatever.css sass -h

updated 01/08/2017

Tag summary

Content type

Image

Digest

Size

4.5 MB

Last updated

about 9 years ago

docker pull pablofelix/rpi-sass