Skip to content

Commit f129b80

Browse files
committed
feat: maven and direnv
1 parent a81c0c5 commit f129b80

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ RUN bash -c "git clone https://github.com/asdf-vm/asdf.git /asdf --branch v${ASD
4040
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git && \
4141
asdf install nodejs 18.15.0 && \
4242
asdf global nodejs 18.15.0 && \
43+
asdf plugin-add direnv && \
44+
asdf direnv setup --shell zsh --version latest && \
45+
asdf plugin-add maven && \
46+
asdf install maven 3.9.2 && \
47+
asdf global maven 3.9.2 && \
4348
asdf plugin add java https://github.com/halcyon/asdf-java.git && \
4449
asdf install java zulu-17.42.19 && \
4550
asdf global java zulu-17.42.19"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!make
22
.DEFAULT_GOAL := build
33

4-
REGISTRY := jenkins
4+
REGISTRY := halkeye
55
NAME := code-server
66
VERSION := latest
77
NAME_VERSION := $(NAME):$(VERSION)

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ test -f "$HOME/.asdfrc" || echo 'legacy_version_file = yes' > "$HOME/.asdfrc"
66
test -f "$HOME/.default-npm-packages" || printf 'yarn\njsonlint\nserve\npm-check-updates\n' > "$HOME/.default-npm-packages"
77
test -f "$HOME/.default-gems" || printf 'solargraph\nbundler\npry\n' > "$HOME/.default-gems"
88

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

1111
exec /init "$@"

0 commit comments

Comments
 (0)