scala build tool + aws cli + docker to be used as a base image for AWS codebuild
1.5K
ARG OPENJDK_TAG=8u212
FROM openjdk:${OPENJDK_TAG}
ARG SBT_VERSION=1.3.0
RUN \
curl -L -o sbt-$SBT_VERSION.deb https://dl.bintray.com/sbt/debian/sbt-$SBT_VERSION.deb && \
dpkg -i sbt-$SBT_VERSION.deb && \
rm sbt-$SBT_VERSION.deb && \
apt-get update && \
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - && \
apt-get install -y software-properties-common && \
apt-get install -y apt-transport-https && \
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian stretch stable" && \
apt-get update && \
apt-get install -y sbt && \
apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common -y && \
apt install python3-pip docker-ce -y && \
apt remove -y apt-transport-https && \
sed -i '/ulimit -n/d' /etc/init.d/docker && \
service docker start && \
sbt sbtVersion
Content type
Image
Digest
Size
635.8 MB
Last updated
about 7 years ago
docker pull paoloo/aws-sbt