Sign inSign up

stevenalexander/docker-scala-ide

By stevenalexander

Updated about 11 years ago

A container with JDK, scala/scalac, SBT and scala-ide, for creating a quick dev environment

Image
1

394

stevenalexander/docker-scala-ide repository overview

Docker scala-ide

A container with JDK, scala/scalac, SBT and scala-ide. Use the X11 socket when running the image to display the IDE. Inspired by Jessie Frazelle's blog.

Useful to quickly create a clean development environment without modifying your host OS.

NOTE: Forwarding the X11 display port will only work when running Docker on Linux directly, not using something like Boot2Docker on Mac.

Run

Build image:

docker build -t stevenalexander/scala-ide .

Run image:

# First run
docker run -it --cpuset-cpus 0 -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY --name scala-ide stevenalexander/scala-ide

# After
docker start scala-ide

Tag summary

Content type

Image

Digest

sha256:d62a32c3f

Size

868.2 MB

Last updated

almost 11 years ago

docker pull stevenalexander/docker-scala-ide