We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d00353b commit b63dc0dCopy full SHA for b63dc0d
2 files changed
Dockerfile
@@ -27,6 +27,8 @@ RUN \
27
28
# Install ASDF to install custom tools
29
ARG ASDF_VERSION=0.11.3
30
+ENV ASDF_DIR=/asdf
31
+ENV ASDF_DATA_DIR=/asdf
32
RUN bash -c "git clone https://github.com/asdf-vm/asdf.git /asdf --branch v${ASDF_VERSION} && \
33
echo 'legacy_version_file = yes' > $HOME/.asdfrc && \
34
printf 'yarn\njsonlint' > $HOME/.default-npm-packages && \
entrypoint.sh
@@ -2,4 +2,8 @@
2
3
. /asdf/asdf.sh
4
5
+test -f "$HOME/.asdfrc" || echo 'legacy_version_file = yes' > "$HOME/.asdfrc"
6
+test -f "$HOME/.default-npm-packages" || printf 'yarn\njsonlint\nserve\npm-check-updates\n' > "$HOME/.default-npm-packages"
7
+test -f "$HOME/.default-gems" || printf 'solargraph\nbundler\npry\n' > "$HOME/.default-gems"
8
+
9
exec /init "$@"
0 commit comments