This repository has been archived by the owner. It is now read-only.
Dockerized SBT, Node & Mongo
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example-project
Dockerfile
LICENSE.txt
README.md
circle.yml
do_for_versions.bash
docker-compose.yml
entrypoint.sh
versions.txt

README.md

Dockerized SBT, Node & Mongo

CircleCI Status

The images are available on the Docker Hub, and based on OpenJDK 8.

Usage

Run the sbt image with your favorite tag:

# gives you a bash:
docker run scalableminds/sbt:sbt-0.13.15_mongo-3.2.1_node-8.x_jdk-8
# interactive sbt:
docker run scalableminds/sbt:sbt-0.13.15_mongo-3.2.1_node-8.x_jdk-8 sbt
# run a specific command:
docker run scalableminds/sbt:sbt-0.13.15_mongo-3.2.1_node-8.x_jdk-8 yarn install

Hints:

Besides your project, you might want to mount caches, like

  • /home/$USER/.m2
  • /home/$USER/.ivy2
  • /home/$USER/.sbt
  • /usr/local/share/.cache/yarn

Also, you can specify the user with those environment variables:

  • USER_UID
  • USER_GID
  • USER_NAME

The timezone can be set specifying TZ.

Supported tags

Check which tags are available on Docker Hub. Older tags might behave differently, currently updated versions are specified in the versions.txt.

Builds

The Docker images are built by CircleCI.

License

MIT 2016 scalable minds