improvement(elixir): make sure that the volume dirs exist.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
f8e77a2c3d
commit
b8cfb5c020
1 changed files with 9 additions and 0 deletions
|
@ -1,6 +1,15 @@
|
|||
FROM code.harton.nz/james/dev-container/base
|
||||
|
||||
ARG USERNAME=vscode
|
||||
ARG USER_UID=1000
|
||||
ARG USER_GID=$USER_UID
|
||||
RUN mkdir /workspace/_build
|
||||
RUN chown $USER_UID:$USER_GID /workspace/_build
|
||||
RUN mkdir /workspace/deps
|
||||
RUN chown $USER_UID:$USER_GID /workspace/deps
|
||||
RUN mkdir /workspace/.elixir_ls
|
||||
RUN chown $USER_UID:$USER_GID /workspace/.elixir_ls
|
||||
|
||||
USER ${USERNAME}
|
||||
ENV HOME=/home/${USERNAME}
|
||||
|
||||
|
|
Loading…
Reference in a new issue