From 9a78625d762a96766c27c6436d9449409ae87937 Mon Sep 17 00:00:00 2001 From: Michael Lim Date: Thu, 28 Mar 2024 04:31:42 +0800 Subject: [PATCH] Test --- .devcontainer/Dockerfile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 8d63622d..44b9a5a8 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -29,18 +29,18 @@ ARG INSTALL_POLYLITH="${templateOption:installPolylith}" RUN if [ "${INSTALL_CLOJURE_CLI}" = "true" ]; then \ apt-get update - # && apt-get -y install rlwrap \ - # && curl -OL "https://download.clojure.org/install/linux-install-${CLOJURE_CLI_VERSION}.sh" \ - # && chmod +x linux-install-${CLOJURE_CLI_VERSION}.sh \ - # && /linux-install-${CLOJURE_CLI_VERSION}.sh \ - # && rm /linux-install-${CLOJURE_CLI_VERSION}.sh \ - # && su vscode -c "clj --version"; fi - - -# RUN if [ "${INSTALL_LEININGEN}" = "true" ]; then \ -# curl -OL "https://raw.githubusercontent.com/technomancy/leiningen/${LEININGEN_VERSION}/bin/lein" \ -# && chmod +x lein \ -# && mv lein /usr/local/sbin; fi + && apt-get -y install rlwrap \ + && curl -OL "https://download.clojure.org/install/linux-install-${CLOJURE_CLI_VERSION}.sh" \ + && chmod +x linux-install-${CLOJURE_CLI_VERSION}.sh \ + && /linux-install-${CLOJURE_CLI_VERSION}.sh \ + && rm /linux-install-${CLOJURE_CLI_VERSION}.sh \ + && su vscode -c "clj --version"; fi + + +RUN if [ "${INSTALL_LEININGEN}" = "true" ]; then \ + curl -OL "https://raw.githubusercontent.com/technomancy/leiningen/${LEININGEN_VERSION}/bin/lein" \ + && chmod +x lein \ + && mv lein /usr/local/sbin; fi # # Cache Clojure and dependencies # RUN if [ "${INSTALL_LEININGEN}" = "true" ]; then \