-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Base clojure template #19
Conversation
add test script for basecloj removed example templates and added readme docs. reformat fix lsb release command
Looks good.
This means "conceptually", that each new version of Regarding
(does this related to
, if yes please remove as well) |
Hello @behrica , Yes the clj-new version for now is hardcoded. The official readme file recommends this way to install it. I have created a task on my side to research how to auto-update this version over time using the github actions. I have removed the ssh and security options. Many thanks, |
Changes looks good. |
Hello @behrica , I do not see any specific comment in the file : src/basecloj/.devcontainer/Dockerfile. |
No ,I talk about the "tag" of the base image
you have hardcoded the tag of the image, namely: But there are lots of others: And I think we should allow the user to "choose" when using the template. The question is then:
See here |
Ah, yes, got it. |
@@ -0,0 +1,31 @@ | |||
FROM clojure:temurin-21-tools-deps-jammy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the "tag" of the image should be configurable.
Please see here:
"options": { |
and
FROM clojure:${templateOption:imageTag} |
"USERNAME": "${localEnv:USER}" | ||
} | ||
}, | ||
"runArgs": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
plase remove this, if it is here due to sshd which should be removed
|
||
# [Optional] Set the default user. Omit if you want to keep the default as root. | ||
USER $USERNAME | ||
SHELL ["/bin/bash", "-ec"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried as well to make "bash" the defaut shell, but did not succeed neither.When I open a "terminal" in VSCode, I get "sh" first and not "bash".
If you are aware of a way to get a "bash" by default, let me know.
Hello, this is the first version of the baseline clojure template.