UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
O
Opensource
r
r-studio
Commits
a56b44aa
Commit
a56b44aa
authored
May 08, 2021
by
Matt Vasquez
Browse files
set absolute path for binaries
parent
18e7a274
Pipeline
#254518
failed with stages
in 24 minutes and 14 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Dockerfile
Dockerfile
+4
-4
No files found.
Dockerfile
View file @
a56b44aa
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment