docker container for building sbt + nodejs projects - support run docker directly in container
2.4K
docker container for building sbt + nodejs projects - support run docker directly in container.
socker support building project by providing the following features:
-v /var/run/docker.sock:/var/run/docker.sock to have all docker's stuff directly in the container.sudo right.cd /home/giabao/wd/sd-api/
docker run --rm -it \
-v /var/run/docker.sock:/var/run/docker.sock \
-v $HOME/.ivy2:/home/sandinh/.ivy2 \
-v $PWD:/src \
sandinh/sbt-node
Or, you can use the socker script:
sudo wget -O /usr/bin/socker https://raw.githubusercontent.com/giabao/docker-sbt-node/master/socker
sudo chmod a+x /usr/bin/socker
socker /home/giabao/wd/sd-api/
npm install
bower install
typings install
gulp release
sbt clean
sbt docker:publishLocal
git clone [email protected]:giabao/docker-sbt-node.git
docker build --rm -t sandinh/sbt-node docker-sbt-node
This software is licensed under the Apache 2 license: http://www.apache.org/licenses/LICENSE-2.0
Copyright 2016 Sân Đình (http://sandinh.com)
This project is inspired by the following document: Continuos Integration and Deployment with Rancher and Docker
Content type
Image
Digest
Size
268.6 MB
Last updated
about 10 years ago
docker pull sandinh/sbt-node