Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GeoModel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
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
GeoModelDev
GeoModel
Commits
a801a9fd
Commit
a801a9fd
authored
4 years ago
by
Johannes Junggeburth
Browse files
Options
Downloads
Patches
Plain Diff
Try to circumvene the permissions
parent
83851995
No related branches found
No related tags found
1 merge request
!61
Docker file fixes
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CI/DockerfileFull
+10
-8
10 additions, 8 deletions
CI/DockerfileFull
CI/DockerfileLight
+4
-3
4 additions, 3 deletions
CI/DockerfileLight
with
14 additions
and
11 deletions
CI/DockerfileFull
+
10
−
8
View file @
a801a9fd
...
...
@@ -12,10 +12,11 @@ RUN git clone https://gitlab.cern.ch/geant4/geant4.git --branch 'v10.6.0' && \
sudo make install > /dev/null && \
cd .. && \
rm -rf build_geant4 geant4 && \
sudo echo "#!/bin/bash" > /usr/local/geant4/setup_docker.sh && \
sudo echo "cd /usr/local/geant4/bin" >> /usr/local/geant4/setup_docker.sh && \
sudo echo "source geant4.sh" >> /usr/local/geant4/setup_docker.sh && \
sudo echo "cd -" >> /usr/local/geant4/setup_docker.sh && \
echo "#!/bin/bash" > ~/setup_docker.sh && \
echo "cd /usr/local/geant4/bin" >> ~/setup_docker.sh && \
echo "source geant4.sh" >> ~/setup_docker.sh && \
echo "cd -" >> ~/setup_docker.sh && \
sudo mv ~/setup_docker.sh /usr/local/geant4/setup_docker.sh && \
echo "source /usr/local/geant4/setup_docker.sh" >> ~/.bashrc
### Compile then geo model
...
...
@@ -28,8 +29,9 @@ RUN mkdir -p /workdir/build_geomodel/ && \
sudo make install && \
cd .. && \
sudo rm -rf build_geomodel GeoModel_src && \
sudo echo "#!/bin/bash" > /usr/local/GeoModel/setup_docker.sh && \
sudo echo "export PATH=\"/usr/local/GeoModel/bin:\${PATH}\"" >> /usr/local/GeoModel/setup_docker.sh && \
sudo echo "export LD_LIBRARY_PATH=\"/usr/local/GeoModel/lib:\${LD_LIBRARY_PATH}\"" >> /usr/local/GeoModel/setup_docker.sh && \
echo "\#\!/bin/bash" > ~/setup_docker.sh && \
echo "export PATH=\"/usr/local/GeoModel/bin:\${PATH}\"" >> ~/setup_docker.sh && \
echo "export LD_LIBRARY_PATH=\"/usr/local/GeoModel/lib:\${LD_LIBRARY_PATH}\"" >> ~/setup_docker.sh && \
sudo mv ~/setup_docker.sh /usr/local/GeoModel/setup_docker.sh && \
echo "source /usr/local/GeoModel/setup_docker.sh" > ~/.bashrc
This diff is collapsed.
Click to expand it.
CI/DockerfileLight
+
4
−
3
View file @
a801a9fd
...
...
@@ -10,8 +10,9 @@ RUN mkdir -p /workdir/build_geomodel/ && \
sudo make install && \
cd .. && \
sudo rm -rf build_geomodel GeoModel_src && \
sudo echo "#!/bin/bash" > /usr/local/GeoModel/setup_docker.sh && \
sudo echo "export PATH=\"/usr/local/GeoModel/bin:\${PATH}\"" >> /usr/local/GeoModel/setup_docker.sh && \
sudo echo "export LD_LIBRARY_PATH=\"/usr/local/GeoModel/lib:\${LD_LIBRARY_PATH}\"" >> /usr/local/GeoModel/setup_docker.sh && \
echo "\#\!/bin/bash" > ~/setup_docker.sh && \
echo "export PATH=\"/usr/local/GeoModel/bin:\${PATH}\"" >> ~/setup_docker.sh && \
echo "export LD_LIBRARY_PATH=\"/usr/local/GeoModel/lib:\${LD_LIBRARY_PATH}\"" >> ~/setup_docker.sh && \
sudo mv ~/setup_docker.sh /usr/local/GeoModel/setup_docker.sh && \
echo "source /usr/local/GeoModel/setup_docker.sh" > ~/.bashrc
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