UNCLASSIFIED

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

set absolute path for binaries

parent 18e7a274
Pipeline #254518 failed with stages
in 24 minutes and 14 seconds
......@@ -27,8 +27,8 @@ RUN groupadd -g 1000 $USER && \
COPY *.tar.gz /local/libs
COPY rpackages /tmp/rpackages
RUN R -e "library(tools); write_PACKAGES('/local/libs')" && \
cat /tmp/rpackages | awk '{printf "\x27"$1"\x27,"}' | sed 's/.$//' | xargs -0 -I {} R -e "install.packages(c({}), contriburl='file:///local/libs')" && \
RUN /usr/local/bin/R -e "library(tools); write_PACKAGES('/local/libs')" && \
cat /tmp/rpackages | awk '{printf "\x27"$1"\x27,"}' | sed 's/.$//' | xargs -0 -I {} /usr/local/bin/R -e "install.packages(c({}), contriburl='file:///local/libs')" && \
rpm -e --nodeps binutils curl glibc-devel glibc-headers libcurl-devel libX11 libX11-common kernel-headers && \
echo "auth-none=1" >> /etc/rstudio/disable_auth_rserver.conf && \
echo "server-daemonize=0" >> /etc/rstudio/rserver.conf && \
......@@ -44,8 +44,8 @@ ENV LC_ALL=en_US.UTF-8 \
USER ${USER}
HEALTHCHECK --start-period=60s CMD rstudio-server status | grep -e "running"
HEALTHCHECK --start-period=60s CMD /usr/local/bin/rstudio-server status | grep -e "running"
EXPOSE 8787
ENTRYPOINT ["rstudio-server", "start"]
\ No newline at end of file
ENTRYPOINT ["/usr/local/bin/rstudio-server", "start"]
\ No newline at end of file
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