diff --git a/Dockerfile b/Dockerfile index 7ae48c8..46bda71 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" diff --git a/Makefile b/Makefile index 4ae51e6..95357da 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ #!make .DEFAULT_GOAL := build -REGISTRY := jenkins +REGISTRY := halkeye NAME := code-server VERSION := latest NAME_VERSION := $(NAME):$(VERSION) diff --git a/entrypoint.sh b/entrypoint.sh index e180bb0..fe50d9f 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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 "$@"