Skip to content

A Minimal docker image which only runs a single task to generate sprites

License

Notifications You must be signed in to change notification settings

frontend-labs/micro-sprites

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MicroSprite

A microservice for generate sprites with a bundle of images

How to install

~ docker build -t micro-sprites . 

Volumes

This microservice provide the follow volumes:

/usr/local/share/input

This is the place for the host source

/usr/local/share/config

This is the place for config files

/usr/local/share/tasks

This is the place for task files

/usr/local/share/output

This path needs to be referenced with your output folder host

How to see a demo

clone this repo

cd test

docker run --rm -e DEV_UID=$(id -u) -e DEV_GID=$(id -g) -v $(pwd)/config:/usr/local/share/config -v $(pwd)/tasks/gulp-sprites:/usr/local/share/tasks -v $(pwd)/src:/usr/local/share/input -v $(pwd)/public:/usr/local/share/output micro-sprites gulp

or directly

clone this repo

cd test

docker run --rm -e DEV_UID=$(id -u) -e DEV_GID=$(id -g) -v $(pwd)/config:/usr/local/share/config -v $(pwd)/tasks/gulp-sprites:/usr/local/share/tasks -v $(pwd)/src:/usr/local/share/input -v $(pwd)/public:/usr/local/share/output andru255/micro-sprites gulp

About

A Minimal docker image which only runs a single task to generate sprites

Resources

License

Stars

Watchers

Forks

Packages

No packages published