Dockerfile 319 B

12345678910111213141516
  1. FROM openjdk:8-jdk
  2. #RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
  3. # workaround for java
  4. #RUN /var/lib/dpkg/info/ca-certificates-java.postinst configure
  5. ADD lein.sh /usr/local/bin/lein
  6. WORKDIR /tmp/app
  7. ADD project.clj /tmp/app
  8. RUN lein deps
  9. RUN rm project.clj
  10. CMD ["lein", "run"]