Skip to content

Commit

Permalink
Fix user in devbox file (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
jashparekh authored Oct 24, 2023
1 parent 25adf25 commit 8f3c4cc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/devbox.dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
FROM python:3.12-bookworm

ARG _USER="lilchz"
ARG _USER="gbq"
ARG _UID="1000"
ARG _GID="100"
ARG _SHELL="/bin/bash"


RUN useradd -m -s "${_SHELL}" -N -u "${_UID}" "${_USER}"

ENV USER ${_USER}
Expand All @@ -15,7 +14,6 @@ ENV HOME /home/${_USER}
ENV PATH "${HOME}/.local/bin/:${PATH}"
ENV PIP_NO_CACHE_DIR "true"


RUN mkdir /app && chown ${UID}:${GID} /app

USER ${_USER}
Expand Down

0 comments on commit 8f3c4cc

Please sign in to comment.