Open pviotti opened 7 years ago
Tried with the Dockerfile below, but Docker deployments don't work.
Probably it needs: a) spawning another Docker machine just for Docker (dind1, dind2) and then b) link it somehow through a Docker socket from Conver's Docker container.
#FROM flangelier/scala:2.11-8-jre
#FROM phusion/baseimage
#FROM openjdk:8-jdk
FROM dockerswarm/dind:17.06.0-ce
ENV CONVER_REPO "https://github.com/pviotti/conver.git"
RUN echo "deb http://httpredir.debian.org/debian jessie-backports main contrib non-free" >> /etc/apt/sources.list \
&& apt update \
&& apt install -y -t jessie-backports openjdk-8-jdk ca-certificates-java wget build-essential git-core \
&& cd /opt \
&& git clone $CONVER_REPO \
&& cd conver \
&& wget --quiet https://dl.bintray.com/sbt/debian/sbt-0.13.15.deb \
&& dpkg -i sbt-0.13.15.deb \
&& make
CMD cd /opt/conver && sbt
# docker build -t conver .
# docker run -i -t --privileged conver
Dockerize Conver to make it easily executable in CI tasks.