支持的标签及对应Dockerfile链接
https://github.com/bigtruedata/docker-scala/blob/master/2.12.4/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.12.4/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.12/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.12/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.10.7/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.10.7/alpine/Dockerfile
查看镜像的历史版本。
Scala是“Scalable Language”的缩写,意为可扩展语言,既可用于编写简单的单行表达式,也可构建大型关键业务系统。更多信息请参考http://docs.scala-lang.org/。
快速开始
该镜像提供Scala环境,包含Scala REPL(交互式解释器)、Scala编译器(scalac)、Scala类文件解码器(scalap)和Scala文档生成工具(scaladoc)。若执行镜像时未指定命令,将默认启动Scala REPL:
sh
docker run --rm --tty --interactive docker.xuanyuan.run/bigtruedata/scala
也可将镜像作为本地环境使用,需挂载源码目录并指定命令。以下别名可简化操作:
sh
alias scala='docker run --rm --tty --interactive --volume $PWD:/app bigtruedata/scala'
alias scalac='docker run --rm --tty --interactive --volume $PWD:/app bigtruedata/scala scalac'
alias scalap='docker run --rm --tty --interactive --volume $PWD:/app bigtruedata/scala scalap'
alias scaladoc='docker run --rm --tty --interactive --volume $PWD:/app bigtruedata/scala scaladoc'
镜像变体
该镜像基于https://hub.docker.com/_/openjdk/提供Java环境,包含标准镜像和Alpine轻量镜像:
标准镜像:使用Scala版本作为标签(如bigtruedata/scala:2.11.7)。
Alpine镜像:适用于需要小体积镜像的场景,标签后缀为-alpine(如bigtruedata/scala:2.11.7-alpine)。
镜像版本对应Scala官方发布版本,可从http://scala-lang.org/download/all.html获取,新发布版本将及时更新。
历史版本
https://github.com/bigtruedata/docker-scala/blob/master/2.12.3/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.12.3/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.12.2/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.12.2/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.12.1/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.12.1/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.12.0/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.12.0/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.11/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.11/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.10/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.10/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.9/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.9/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.8/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.8/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.7/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.7/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.6/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.6/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.5/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.5/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.4/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.4/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.3/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.3/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.2/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.2/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.1/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.1/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.0/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.11.0/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.10.6/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.10.6/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.10.5/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.10.5/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.10.4/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.10.4/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.10.3/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.10.3/alpine/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.10.2/Dockerfile
https://github.com/bigtruedata/docker-scala/blob/master/2.10.2/alpine/Dockerfile
许可证
MIT许可证
版权所有 © 2017 BigTrueData
特此授予任何获得本软件及相关文档文件(以下简称“软件”)副本的人无限制地处理软件的权利,包括但不限于使用、复制、修改、合并、发布、分发、再许可和/或出售软件副本的权利,以及允许向其提供软件的人这样做,但须符合以下条件:
上述版权声明和本许可声明应包含在软件的所有副本或主要部分中。
本软件按“原样”提供,不提供任何形式的明示或暗示担保,包括但不限于对适销性、特定用途适用性和非侵权性的担保。在任何情况下,作者或版权持有人均不对因软件或软件的使用或其他交易而引起的任何索赔、损害或其他责任负责,无论是合同诉讼、侵权诉讼还是其他形式的诉讼。