Skip to content

Commit

Permalink
feat: maven and direnv
Browse files Browse the repository at this point in the history
  • Loading branch information
halkeye committed Jun 21, 2023
1 parent a81c0c5 commit f129b80
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ RUN bash -c "git clone https://github.com/asdf-vm/asdf.git /asdf --branch v${ASD
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git && \
asdf install nodejs 18.15.0 && \
asdf global nodejs 18.15.0 && \
asdf plugin-add direnv && \
asdf direnv setup --shell zsh --version latest && \
asdf plugin-add maven && \
asdf install maven 3.9.2 && \
asdf global maven 3.9.2 && \
asdf plugin add java https://github.com/halcyon/asdf-java.git && \
asdf install java zulu-17.42.19 && \
asdf global java zulu-17.42.19"
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!make
.DEFAULT_GOAL := build

REGISTRY := jenkins
REGISTRY := halkeye
NAME := code-server
VERSION := latest
NAME_VERSION := $(NAME):$(VERSION)
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ test -f "$HOME/.asdfrc" || echo 'legacy_version_file = yes' > "$HOME/.asdfrc"
test -f "$HOME/.default-npm-packages" || printf 'yarn\njsonlint\nserve\npm-check-updates\n' > "$HOME/.default-npm-packages"
test -f "$HOME/.default-gems" || printf 'solargraph\nbundler\npry\n' > "$HOME/.default-gems"

chown -u $(id -u abc):$(id -g abc) /asdf
chown -R $(id -u abc):$(id -g abc) /asdf

exec /init "$@"

0 comments on commit f129b80

Please sign in to comment.