Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NP_TMcode
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giacomo Mulas
NP_TMcode
Commits
67eb1ee9
Commit
67eb1ee9
authored
1 year ago
by
Mulas, Giacomo
Browse files
Options
Downloads
Patches
Plain Diff
clean up minimal docker image to run the code, which is now installed under /usr/local/np-tmcode
parent
0b93e600
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
containers/docker/Dockerfile
+2
-0
2 additions, 0 deletions
containers/docker/Dockerfile
with
2 additions
and
0 deletions
containers/docker/Dockerfile
+
2
−
0
View file @
67eb1ee9
...
@@ -44,6 +44,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt update && DEBIAN_FRONTEND=noninteractive
...
@@ -44,6 +44,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt update && DEBIAN_FRONTEND=noninteractive
COPY
--from=np-tmcode-run-dev /root /root
COPY
--from=np-tmcode-run-dev /root /root
# remove everything which is not needed to run the codes
# remove everything which is not needed to run the codes
RUN
cd
/root/np-tmcode
&&
find build
-name
"*.o"
-exec
rm
-v
\{\}
\;
&&
find build
-name
"*.gcno"
-exec
rm
-v
\{\}
\;
&&
cd
src
&&
rm
-rvf
cluster libnptm trapping include sphere Makefile make.inc README.md
&&
cd
..
&&
rm
-rvf
containers
&&
cd
doc
&&
rm
-rvf
src
&&
cd
build/latex
&&
rm
-rvf
*
.tex
*
.out
*
.sty
*
.ind
*
.log
*
.toc
*
.ilg
*
.idx
*
.aux
*
.eps Makefile class
*
.pdf
RUN
cd
/root/np-tmcode
&&
find build
-name
"*.o"
-exec
rm
-v
\{\}
\;
&&
find build
-name
"*.gcno"
-exec
rm
-v
\{\}
\;
&&
cd
src
&&
rm
-rvf
cluster libnptm trapping include sphere Makefile make.inc README.md
&&
cd
..
&&
rm
-rvf
containers
&&
cd
doc
&&
rm
-rvf
src
&&
cd
build/latex
&&
rm
-rvf
*
.tex
*
.out
*
.sty
*
.ind
*
.log
*
.toc
*
.ilg
*
.idx
*
.aux
*
.eps Makefile class
*
.pdf
# move the installed software to /usr/local
RUN
mv
/root/np-tmcode /usr/local
# create the container on which the np-tmcode is installed,
# create the container on which the np-tmcode is installed,
...
...
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