Skip to content
GitLab
Explore
Sign in
Aaron Peikert
sem-jl-docker
Compare revisions
27445040319e71e72c666c6de9ceaf1ce1e0b724 to 372ad04273bb77e3570c00adb0b1d04fe8a7f0c5
Commits on Source (2)
update readme
· cc8de489
Aaron Peikert
authored
Feb 08, 2022
cc8de489
update name + link
· 372ad042
Aaron Peikert
authored
Feb 08, 2022
372ad042
Hide whitespace changes
Inline
Side-by-side
README.Rmd
View file @
372ad042
...
...
@@ -27,6 +27,6 @@ If we base an image upon a rocker image, we can add other rocker modules by runn
This is than our Dockerfile:
```{r}
cat("```\n", readLines("Dockerfile"), "\n```", sep = "")
cat("```\n", readLines("Dockerfile"), "\n```", sep = "
\n
")
```
README.md
View file @
372ad042
...
...
@@ -23,8 +23,20 @@ e.g. [`install_julia.sh`](https://github.com/rocker-org/rocker-versioned2/blob/
This is than our Dockerfile:
````
r
cat
(
"```\n"
,
readLines
(
"Dockerfile"
),
"\n```"
,
sep
=
""
)
cat
(
"```\n"
,
readLines
(
"Dockerfile"
),
"\n```"
,
sep
=
"
\n
"
)
#> ```
#> FROM rocker/r-ver:4.1.1ARG CRAN="https://packagemanager.rstudio.com/cran/__linux__/focal/2021-10-29"ARG JULIA_VERSION=1.7.0-rc3ARG LAVAAN_VERSION=623762a96c4da1ARG SEM_VERSION="devel"RUN /rocker_scripts/install_tidyverse.shRUN /rocker_scripts/install_julia.shCOPY install_lavaan.sh ./RUN /install_lavaan.shCOPY install_sem.sh ./RUN /install_sem.sh
#>
#> FROM rocker/r-ver:4.1.1
#> ARG CRAN="https://packagemanager.rstudio.com/cran/__linux__/focal/2021-10-29"
#> ARG JULIA_VERSION=1.7.0-rc3
#> ARG LAVAAN_VERSION=623762a96c4da1
#> ARG SEM_VERSION="devel"
#> RUN /rocker_scripts/install_tidyverse.sh
#> RUN /rocker_scripts/install_julia.sh
#> COPY install_lavaan.sh ./
#> RUN /install_lavaan.sh
#> COPY install_sem.sh ./
#> RUN /install_sem.sh
#>
#> ```
````
install_sem.sh
View file @
372ad042
julia
-e
"
using Pkg;
Pkg.add(
PackageSpec(; url=
\"
https://github.com/
sem-jl/SEM
.jl
\"
,
PackageSpec(; url=
\"
https://github.com/
StructuralEquationModels/StructuralEquationModels
.jl
\"
,
rev =
\"
$SEM_VERSION
\"
))"