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
4403ba02
Commit
4403ba02
authored
May 08, 2021
by
Matt Vasquez
Browse files
update
parent
9d34a7ee
Pipeline
#254018
failed with stages
in 24 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Dockerfile
Dockerfile
+2
-1
No files found.
Dockerfile
View file @
4403ba02
...
@@ -31,6 +31,7 @@ COPY rpackages /tmp/rpackages
...
@@ -31,6 +31,7 @@ COPY rpackages /tmp/rpackages
RUN
R
-e
"library(tools); write_PACKAGES('/local/libs')"
&&
\
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')"
&&
\
cat
/tmp/rpackages |
awk
'{printf "\x27"$1"\x27,"}'
|
sed
's/.$//'
| xargs
-0
-I
{}
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
&&
\
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
&&
\
dnf clean all
&&
\
dnf clean all
&&
\
rm
-rf
/var/cache/dnf /tmp/
*
/local/libs/
*
rm
-rf
/var/cache/dnf /tmp/
*
/local/libs/
*
...
@@ -44,4 +45,4 @@ HEALTHCHECK --start-period=60s CMD rserver status
...
@@ -44,4 +45,4 @@ HEALTHCHECK --start-period=60s CMD rserver status
EXPOSE
8787
EXPOSE
8787
ENTRYPOINT
["rserver", "--server-daemonize=0", "--auth-none=1"]
ENTRYPOINT
["rserver"]
\ No newline at end of file
\ 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