Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Operacijske raziskave
OR
Commits
13234c8f
Commit
13234c8f
authored
6 years ago
by
Vidali, Janoš
Browse files
Options
Download
Email Patches
Plain Diff
Dodane datoteke za pripravo slike z IRkernel
Zaenkrat še ne deluje!
parent
085f8243
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
docker/Dockerfile
docker/Dockerfile
+14
-0
docker/install.R
docker/install.R
+3
-0
No files found.
docker/Dockerfile
0 → 100644
View file @
13234c8f
# Dockerfile for binder
# Reference: https://mybinder.readthedocs.io/en/latest/dockerfile.html#preparing-your-dockerfile
FROM
sagemath/sagemath:8.6
COPY
--chown=sage:sage install.R ${HOME}
USER
root
RUN
apt-get update
&&
apt-get
install
--yes
--no-install-recommends
ca-certificates git libssl-dev make
USER
sage
RUN
sage
-R
CMD Rscript
${
HOME
}
/install.R
&&
rm
${
HOME
}
/install.R
This diff is collapsed.
Click to expand it.
docker/install.R
0 → 100644
View file @
13234c8f
install.packages
(
c
(
'repr'
,
'IRdisplay'
,
'evaluate'
,
'crayon'
,
'pbdZMQ'
,
'devtools'
,
'uuid'
,
'digest'
),
repos
=
"https://cran.rstudio.com/"
)
devtools
::
install_github
(
'IRkernel/IRkernel'
)
IRkernel
::
installspec
()
This diff is collapsed.
Click to expand it.
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