Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OnedataSim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
LAGO
Software
OnedataSim
Commits
5773648c
Unverified
Commit
5773648c
authored
4 years ago
by
AJRubio-Montero
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Create Dockerfile
parent
5ee487c3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/Dockerfile
+65
-0
65 additions, 0 deletions
docker/Dockerfile
with
65 additions
and
0 deletions
docker/Dockerfile
0 → 100644
+
65
−
0
View file @
5773648c
################################################################################
# Original Author: A.J. Rubio-Montero (http://orcid.org/0000-0001-6497-753X), #
# CIEMAT - Sci-Track Group (http://rdgroups.ciemat.es/web/sci-track), #
# for the EOSC-Synergy project (EU H2020 RI Grant No 857647). #
# License (SPDX): BSD-3-Clause (https://opensource.org/licenses/BSD-3-Clause) #
# Copyright (c): 2020-today, The LAGO Collaboration (http://lagoproject.net) #
################################################################################
FROM
centos:7.8.2003
#
ARG
ONECLIENT_ACCESS_TOKEN_TO_BUILD
ARG
ONECLIENT_PROVIDER_HOST_TO_BUILD
# user credentials when the container were used
ENV
ONECLIENT_ACCESS_TOKEN=""
ENV
ONECLIENT_PROVIDER_HOST=""
RUN
yum
-y
update
# CORSIKA pre-requisites
RUN
yum
-y
install
gcc gcc-c++ gcc-gfortran
\
curl csh make perl perl-Data-Dumper
\
git perl-Switch
# CORSIKA autorished copy for internal distribution on the LAGO Collaboration (CDMI private link)
RUN
curl
-k
-H
"X-Auth-Token:
$ONECLIENT_ACCESS_TOKEN_TO_BUILD
"
\
"
$ONECLIENT_PROVIDER_HOST_TO_BUILD
/cdmi/test4/corsika/corsika-75600-lago.tar.gz"
\
|
tar
xvz
-C
/opt
RUN
cd
/opt/corsika-75600-lago
&&
./coconut
-b
## testing corsika
## ./corsika75600Linux_QGSII_gheisha < all-inputs > output.txt
#dowload and compile LAGO crktools
RUN
yum
-y
install
bzip2
RUN
cd
/opt
&&
git clone https://github.com/lagoproject/arti.git
RUN
cd
/opt/arti
&&
make
#download and install oneclient
#We did not use oneclient for downloading corsika-lago to isolate from its compiling
# and because it were need use privileged mode.
RUN
curl
-sS
http://get.onedata.org/oneclient-1902.sh | bash
#getfacl getfattr
RUN
yum
-y
install
acl attr
# xattr (this is python2 but I had found the command only in python2)
RUN
yum
-y
install
python2-pip python-devel libffi-devel
RUN
pip
install
--upgrade
pip
RUN
pip
install
xattr
#python3 and libraries for Lago processing with onedata
RUN
yum
-y
install
python3 python36-pyxattr
## testing mount...
## oneclient /mnt
WORKDIR
/opt/corsika-75600-lago/run
#ENTRYPOINT /opt/arti/sims/do_datahub.sh
CMD
bash
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