Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@behrica
Created September 20, 2021 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save behrica/723cb69c5524497599fb90f7942f153b to your computer and use it in GitHub Desktop.
Save behrica/723cb69c5524497599fb90f7942f153b to your computer and use it in GitHub Desktop.
FROM rocker/r-ver:4.1.1
RUN apt-get update && apt-get -y install openjdk-11-jdk curl rlwrap libssl-dev build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libreadline-dev libffi-dev
RUN curl -O https://download.clojure.org/install/linux-install-1.10.3.967.sh && chmod +x linux-install-1.10.3.967.sh && ./linux-install-1.10.3.967.sh
SHELL ["/bin/bash", "-c"]
RUN echo $'{ \n\
:mvn/repos {"clojars" {:url "https://repo.clojars.org/"} \n\
"central" {:url "https://repo1.maven.org/maven2/"} \n\
"bedatadriven" {:url "https://nexus.bedatadriven.com/content/groups/public/"}} \n\
\n\
:paths ["src" "resources"] \n\
\n\
:deps {\n\
org.clojure/clojure {:mvn/version "1.10.3"} \n\
clj-python/libpython-clj {:mvn/version "2.000"} \n\
scicloj/clojisr {:mvn/version "1.0.0-BETA19"} \n\
scicloj/tablecloth {:mvn/version "6.012"} \n\
scicloj/notespace {:mvn/version "3-beta9"} \n\
scicloj/scicloj.ml {:mvn/version "0.1.0-beta4"}}} \n' \
>> deps.edn
RUN clj -P # fails
#RUN clj -P -Sthreads 1 # works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment