improvement(elixir): make sure that the volume dirs exist.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
James Harton 2023-08-25 19:52:34 +12:00
parent f8e77a2c3d
commit b8cfb5c020
Signed by: james
GPG key ID: 90E82DAA13F624F4

View file

@ -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}