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
Commits
4e9ba11c
Commit
4e9ba11c
authored
1 year ago
by
Johannes Boog
Browse files
Options
Downloads
Patches
Plain Diff
[ci] update ci docker image to R-4.2.3
parent
7e35f7cd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!59
78 packrat to renv
,
!58
78 packrat to renv
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ci/dockerfile
+39
-0
39 additions, 0 deletions
ci/dockerfile
ci/env.list
+0
-3
0 additions, 3 deletions
ci/env.list
with
39 additions
and
3 deletions
ci/dockerfile
0 → 100644
+
39
−
0
View file @
4e9ba11c
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
This diff is collapsed.
Click to expand it.
ci/env.list
deleted
100644 → 0
+
0
−
3
View file @
7e35f7cd
R_LIBS_USER="/root/r2ogs6/ci/lib/"
RETICULATE_MINICONDA_PATH="/root/.local/share/r-miniconda/"
RETICULATE_PYTHON_ENV="/root/.local/share/r-miniconda/envs/r-reticulate/"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment