chore: provide a simple asdf wrapper script.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
James Harton 2023-07-19 17:52:55 +12:00
parent aa56f5aed5
commit 1443578305
Signed by: james
GPG key ID: 90E82DAA13F624F4
3 changed files with 6 additions and 0 deletions

View file

@ -27,6 +27,8 @@ RUN groupadd --gid ${USER_GID} ${USERNAME}
RUN useradd --shell /usr/bin/zsh --uid ${USER_UID} --gid ${USER_GID} -m ${USERNAME}
RUN touch /entrypoint.sh && chown ${USERNAME}:${USERNAME} /entrypoint.sh
COPY asdf /usr/local/bin
RUN chmod 755 /usr/local/bin/asdf
COPY asdf_install /usr/local/bin
RUN chmod 755 /usr/local/bin/asdf_install

4
asdf Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
source ~/.asdf/asdf.sh
exec "$@"

0
asdf_install Normal file → Executable file
View file