Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (14 sloc) 692 Bytes
FROM resin/rpi-raspbian:wheezy
COPY raspberrypi.gpg.key /key/
RUN echo 'deb wheezy main' >> /etc/apt/sources.list.d/raspi.list && \
echo oracle-java8-jdk shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections && \
apt-key add /key/raspberrypi.gpg.key
RUN echo "deb /" | tee -a /etc/apt/sources.list.d/sbt.list && \
apt-key adv --keyserver hkp:// --recv 642AC823
RUN apt-get update && \
apt-get -y install oracle-java8-jdk sbt && \
apt-get clean && rm -rf /var/lib/apt/lists/*
COPY . /usr/src/app
WORKDIR /usr/src/app
RUN sbt package
CMD sbt run
You can’t perform that action at this time.