This repository was archived by the owner on May 4, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,21 +10,22 @@ packages = [
1010 " openjdk-11-jre-headless"
1111]
1212setup = [
13- " wget https://download.clojure.org/install/linux-install-1.10.1.478.sh" ,
14- " chmod +x linux-install-1.10.1.478.sh" ,
15- " ./linux-install-1.10.1.478.sh" ,
16- " rm linux-install-1.10.1.478.sh" ,
13+ " wget https://download.clojure.org/install/linux-install-1.10.1.536.sh" ,
14+ " chmod +x linux-install-1.10.1.536.sh" ,
15+ " ./linux-install-1.10.1.536.sh" ,
16+ " rm linux-install-1.10.1.536.sh" ,
17+
18+ # Fetch Maven artifacts eagerly in order to cache them in the container image.
19+ # (https://clojure.org/reference/deps_and_cli#_command_line_tools)
20+ """ clojure -Sverbose \
21+ -Sdeps '{:deps {org.clojure/tools.namespace {:mvn/version \" 1.0.0\" }} :mvn/local-repo \" /home/runner/.m2/repository\" }' \
22+ --eval ''""" ,
1723
18- # this ensures that we cache the maven deps in the image ($XDG_CONFIG_HOME)
19- # https://clojure.org/reference/deps_and_cli#_command_line_tools
20- # pretty ridiculous but what else can you do?
21- " clojure -Sverbose -Sdeps '{:mvn/local-repo \" /home/runner/.m2/repository\" }' --eval ''" ,
22- " mv /root/.m2/repository $XDG_CONFIG_HOME/clojure/repository && rm -rf /root/.m2" ,
2324 " /usr/bin/build-prybar-lang.sh clojure"
2425]
2526versionCommand = [
2627 " clojure" ,
27- " -e " ,
28+ " --eval " ,
2829 " (clojure-version)"
2930]
3031
You can’t perform that action at this time.
0 commit comments