Skip to content

Commit

Permalink
Fix for Jetbrains
Browse files Browse the repository at this point in the history
  • Loading branch information
madalinignisca committed Jan 30, 2024
1 parent 33b9978 commit ee97b95
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,24 +69,28 @@ RUN echo "${USERNAME} ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/${USERNAME} \
RUN mkdir -p /workspace \
&& chown ${USERNAME}:${USERNAME} /workspace

ADD .editorconfig /home/${USERNAME}
RUN chown ${USERNAME}:${USERNAME} /home/${USERNAME}/.editorconfig

HEALTHCHECK NONE

ENV LANG en_US.utf8

USER ${USERNAME}

ADD .editorconfig /home/${USERNAME}

COPY bashprompt /tmp/bashprompt
RUN cat /tmp/bashprompt >> /home/${USERNAME}/.bashrc

RUN mkdir -p /home/${USERNAME}/.local \
&& echo "export PROMPT_COMMAND='history -a'" >> "/home/${USERNAME}/.bashrc" \
&& echo "export HISTFILE=/home/${USERNAME}/.local/bash_history" >> "/home/${USERNAME}/.bashrc"

RUN mkdir -p /home/${USERNAME}/.cache

RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v${NVM_VERSION}/install.sh | bash \
&& mkdir /home/${USERNAME}/.nvm/versions

VOLUME /workspace
VOLUME /home/${USERNAME}/.cache
VOLUME /home/${USERNAME}/.nvm/versions
WORKDIR /workspace

0 comments on commit ee97b95

Please sign in to comment.