Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
r2ogs6
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ogs
OpenGeoSys Tools
r2ogs6
Merge requests
!59
78 packrat to renv
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
78 packrat to renv
78_packrat_to_renv
into
master
Overview
0
Commits
4
Pipelines
0
Changes
12
Merged
Johannes Boog
requested to merge
78_packrat_to_renv
into
master
1 year ago
Overview
0
Commits
4
Pipelines
0
Changes
12
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
9a9bc838
4 commits,
1 year ago
12 files
+
2904
−
857
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
12
Search (e.g. *.vue) (Ctrl+P)
ci/dockerfile
0 → 100644
+
39
−
0
Options
FROM
rocker/tidyverse:4.2.3
ENV
PATH="/root/miniconda3/bin:$PATH"
ARG
PATH="/root/miniconda3/bin:$PATH"
ARG
PROJECT_DIR="/root/test-bm"
ARG
GOVERSION="1.13.9"
ARG
OGS_VERSION="6.4.4"
ARG
SING_VERSION="3.5.3"
# install linux dependencies
RUN
apt-get update
&&
apt-get
install
-y
build-essential libssl-dev uuid-dev libgpgme11-dev squashfs-tools libseccomp-dev pkg-config cryptsetup-bin
# install go
ARG
OS=linux
ARG
ARCH=amd64
RUN
wget
-O
/tmp/go
${
GOVERSION
}
.
${
OS
}
-
${
ARCH
}
.tar.gz https://dl.google.com/go/go
$GOVERSION
.
$OS
-
$ARCH
.tar.gz
RUN
tar
-C
/usr/local
-xzvf
/tmp/go
$GOVERSION
.
$OS
-
$ARCH
.tar.gz
RUN
rm
/tmp/go
$GOVERSION
.
$OS
-
$ARCH
.tar.gz
# configure go
ARG
GOPATH="/root/go"
ENV
GOPATH=${GOPATH}
ENV
PATH="/usr/local/go/bin:${PATH}:${GOPATH}/bin"
# install singularity
RUN
mkdir
-p
${
GOPATH
}
/src/github.com/sylabs
RUN
cd
${
GOPATH
}
/src/github.com/sylabs
&&
git clone https://github.com/sylabs/singularity.git
RUN
cd
${
GOPATH
}
/src/github.com/sylabs/singularity
&&
git checkout v
${
SING_VERSION
}
&&
./mconfig
RUN
cd
${
GOPATH
}
/src/github.com/sylabs/singularity/builddir
&&
make
&&
make
install
RUN
singularity version
# get ogs
RUN if
[
!
-d
"
$PROJECT_DIR
"
]
;
then
mkdir
-p
"
$PROJECT_DIR
"
;
fi
RUN
git clone
--branch
${
OGS_VERSION
}
https://gitlab.opengeosys.org/ogs/ogs.git/ /root/ogs
RUN
wget
-nv
-P
/root https://ogsstorage.blob.core.windows.net/binaries/ogs6/
${
OGS_VERSION
}
/ogs-
${
OGS_VERSION
}
-serial
.sif
# install R dependencies
RUN
R
-e
'install.packages("reticulate")'
RUN
R
-e
'reticulate::install_miniconda()'
RUN
R
-e
'reticulate::py_install(c("numpy==1.19.1", "vtk==8.2.0"), python_version="3.7")'
\ No newline at end of file
Loading