Giter VIP home page Giter VIP logo

scala-sbt's Introduction

Scala and sbt Dockerfile

This repository contains Dockerfile of Scala and sbt.

DockerHub

As we think referencing unstable versions is a bad idea we don't publish a latest tag

For a list of all available tags see https://hub.docker.com/r/hseeberger/scala-sbt/tags

Base Docker Image

Installation

  1. Install Docker
  2. Pull automated build from public Docker Hub Registry:
docker pull hseeberger/scala-sbt:8u265_1.4.3_2.13.4

Alternatively, you can build an image from Dockerfile: (debian):

docker build \
  --build-arg BASE_IMAGE_TAG="8u212-b04-jdk-stretch" \
  --build-arg SBT_VERSION="1.4.3" \
  --build-arg SCALA_VERSION="2.13.4" \
  --build-arg USER_ID=1001 \
  --build-arg GROUP_ID=1001 \
  -t hseeberger/scala-sbt \
  github.com/hseeberger/scala-sbt.git#:debian

(oraclelinux7):

docker build \
  --build-arg BASE_IMAGE_TAG="11.0.2-jdk-oraclelinux7" \
  --build-arg SBT_VERSION="1.4.3" \
  --build-arg SCALA_VERSION="2.13.4" \
  --build-arg USER_ID=1001 \
  --build-arg GROUP_ID=1001 \
  -t hseeberger/scala-sbt \
  github.com/hseeberger/scala-sbt.git#:oracle

Usage

docker run -it --rm hseeberger/scala-sbt:8u265_1.4.3_2.13.4

Alternative commands

The container contains bash, scala and sbt.

docker run -it --rm hseeberger/scala-sbt:8u265_1.4.3_2.13.4 scala

Non-root

The container is prepared to be used with a non-root user called sbtuser

docker run -it --rm -u sbtuser -w /home/sbtuser hseeberger/scala-sbt:8u265_1.4.3_2.13.4

Contribution policy

Contributions via GitHub pull requests are gladly accepted from their original author. Along with any pull requests, please state that the contribution is your original work and that you license the work to the project under the project's open source license. Whether or not you state this explicitly, by submitting any copyrighted material via pull request, email, or other means you agree to license the material under the project's open source license and warrant that you have the legal authority to do so.

License

This code is open source software licensed under the Apache 2.0 License.

scala-sbt's People

Contributors

francisdb avatar hseeberger avatar ksisu avatar rawyler avatar jhnsmth avatar christiankniep avatar dbronecki avatar danirey avatar leonardehrenfried avatar alexarchambault avatar fpopic avatar burnsjake avatar edrevo avatar adericbourg avatar aaabramov avatar duncancrawford avatar eperinan avatar fokko avatar giorgiovinci avatar hlegius avatar jesusmtnez avatar jiminhsieh avatar argoyle avatar joelbcarter avatar jobegrabber avatar guizmaii avatar tkawachi avatar nightscape avatar efemelar avatar czerasz avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.