Skip to content

Commit

Permalink
Force rstudio uid to 1000
Browse files Browse the repository at this point in the history
  • Loading branch information
almahmoud committed Dec 12, 2024
1 parent 8969884 commit f0aaf74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion anvil-rstudio-bioconductor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ COPY scripts ${RSTUDIO_HOME}/scripts
RUN find ${RSTUDIO_HOME}/scripts -name '*.sh' -type f | xargs chmod +x \
&& echo "PIP_USER=true" >> /usr/local/lib/R/etc/Renviron.site

RUN apt-get clean && rm -rf /var/lib/apt/lists/*
RUN apt-get clean && rm -rf /var/lib/apt/lists/* && \
usermod -o -u 1000 rstudio && \
find / \( -path /proc -o -path /sys -o -path /dev \) -prune -o -user 1001 -exec chown -h 1000 {} \;


FROM ghcr.io/bioconductor/ml-verse:3.20 as final
Expand Down
2 changes: 1 addition & 1 deletion anvil-rstudio-bioconductor/dev_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.20.0-dev
3.20.1-dev

0 comments on commit f0aaf74

Please sign in to comment.