Skip to content

Commit 399bd8a

Browse files
mikeldekimo-k
authored andcommitted
Updated to get Codespaces working
1 parent 632f177 commit 399bd8a

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

.devcontainer/Dockerfile

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,17 @@ ARG LEININGEN_VERSION="stable"
1818
# [Optional] POLYLITH version
1919
ARG POLYLITH_VERSION="0.2.13-alpha"
2020

21-
# [Option] Install Clojure CLI tool
22-
ARG INSTALL_CLOJURE_CLI="${templateOption:installClojureCli}"
21+
ARG INSTALL_CLOJURE_CLI="true"
22+
# # [Option] Install Clojure CLI tool
23+
# ARG INSTALL_CLOJURE_CLI="${templateOption:installClojureCli}"
2324

24-
# [Option] Install Leiningen
25-
ARG INSTALL_LEININGEN="${templateOption:installLeiningen}"
25+
ARG INSTALL_LEININGEN="true"
26+
# # [Option] Install Leiningen
27+
# ARG INSTALL_LEININGEN="${templateOption:installLeiningen}"
2628

27-
# [Option] Install Polylith
28-
ARG INSTALL_POLYLITH="${templateOption:installPolylith}"
29+
ARG INSTALL_POLYLITH="true"
30+
# # [Option] Install Polylith
31+
# ARG INSTALL_POLYLITH="${templateOption:installPolylith}"
2932

3033
RUN if [ "${INSTALL_CLOJURE_CLI}" = "true" ]; then \
3134
apt-get update \
@@ -58,7 +61,8 @@ RUN if [ "${INSTALL_POLYLITH}" = "true" ]; then \
5861
&& /usr/local/sbin/poly version; fi
5962

6063
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10
61-
ARG NODE_VERSION="${templateOption:nodeVersion}"
64+
#ARG NODE_VERSION="${templateOption:nodeVersion}"
65+
ARG NODE_VERSION="16"
6266
RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi
6367

6468
# [Optional] Uncomment this section to install additional OS packages.

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
},
2727

2828
// Use 'forwardPorts' to make a list of ports inside the container available locally.
29-
// "forwardPorts": [],
29+
"forwardPorts": [],
3030

3131
// Use 'postCreateCommand' to run commands after the container is created.
32-
// "postCreateCommand": "java -version",
32+
"postCreateCommand": "java -version",
3333

3434
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
3535
"remoteUser": "vscode"

0 commit comments

Comments
 (0)