UNCLASSIFIED

Commit b45063a1 authored by Matt Vasquez's avatar Matt Vasquez
Browse files

chown to $USER

parent 327f8501
Pipeline #247050 failed with stages
in 24 minutes and 31 seconds
......@@ -8,14 +8,16 @@ USER root
ENV RSTUDIO_VERSION=1.4.1106
ENV USER=default
COPY rstudio-server-rhel-${RSTUDIO_VERSION}-x86_64.rpm /tmp
RUN dnf upgrade -y && \
dnf install -y --nogpgcheck glibc-langpack-en initscripts procps-ng /tmp/rstudio-server-rhel-${RSTUDIO_VERSION}-x86_64.rpm \
binutils curl glibc-devel glibc-headers libcurl-devel libX11 libX11-common kernel-headers && \
mkdir -p /local/libs && \
chmod -R g=u /var/lib/rstudio-server && \
chmod -R g=u /etc/rstudio && \
chown -R $USER /var/lib/rstudio-server && \
chown -R $USER /etc/rstudio && \
chown $USER /var/lib/rstudio-server /var/run/rstudio-server && \
ln -s /usr/lib/rstudio-server/bin/rserver /usr/local/bin/rserver && \
chmod +t /var/run/rstudio-server && \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment