chore: provide a simple asdf
wrapper script.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
aa56f5aed5
commit
1443578305
3 changed files with 6 additions and 0 deletions
|
@ -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 useradd --shell /usr/bin/zsh --uid ${USER_UID} --gid ${USER_GID} -m ${USERNAME}
|
||||||
RUN touch /entrypoint.sh && chown ${USERNAME}:${USERNAME} /entrypoint.sh
|
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
|
COPY asdf_install /usr/local/bin
|
||||||
RUN chmod 755 /usr/local/bin/asdf_install
|
RUN chmod 755 /usr/local/bin/asdf_install
|
||||||
|
|
||||||
|
|
4
asdf
Executable file
4
asdf
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
source ~/.asdf/asdf.sh
|
||||||
|
exec "$@"
|
0
asdf_install
Normal file → Executable file
0
asdf_install
Normal file → Executable file
Loading…
Reference in a new issue