Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
trainbenchmark
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jesper
trainbenchmark
Commits
1a4df2b0
Commit
1a4df2b0
authored
6 years ago
by
Carl Mai
Browse files
Options
Downloads
Patches
Plain Diff
simplified docker a lot
the build starting from copy . . takes 5minutes - so ok
parent
d9f9f0b2
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.dockerignore
+2
-59
2 additions, 59 deletions
.dockerignore
Dockerfile
+7
-93
7 additions, 93 deletions
Dockerfile
with
9 additions
and
152 deletions
.dockerignore
+
2
−
59
View file @
1a4df2b0
.gitlab-ci
.gitlab-ci
Dockerfile
Dockerfile
README.md
LICENSE
.dockerignore
.dockerignore
models
plugin.xml_gen
.git
bin/
target/
tmp/
.settings/
MANIFEST.MF_gen
.DS_Store*
.metadata
runtimeInfo
workspace
*._trace
Thumbs.db
.Rhistory
.pydevproject
deps/
diagrams/*
.idea
log/
catalog-v*.xml
.RData
.Rproj.user
*.tar.gz
*.zip
*.gml
# IntelliJ IDEA
*.iml
# Eclipse
.project
.classpath
### Gradle ###
.gradle
build/
# Ignore Gradle GUI config
gradle-app.setting
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar
# Cache of project
.gradletasknamecache
hs_err_*.log
replay_*.log
~*.*
*.~*
xtend-gen/
neo4j-server/
out/
*.swp
*.report
This diff is collapsed.
Click to expand it.
Dockerfile
+
7
−
93
View file @
1a4df2b0
...
@@ -6,6 +6,11 @@ FROM ubuntu:latest
...
@@ -6,6 +6,11 @@ FROM ubuntu:latest
USER
root
USER
root
ENV
DEBIAN_FRONTEND noninteractive
ENV
DEBIAN_FRONTEND noninteractive
ENV
HOME /home/user
RUN
useradd
--create-home
--home-dir
$HOME
user
\
&&
chmod
-R
u+rwx
$HOME
\
&&
chown
-R
user:user
$HOME
RUN
apt-get update
-y
&&
apt-get
install
-y
\
RUN
apt-get update
-y
&&
apt-get
install
-y
\
openjdk-8-jdk
\
openjdk-8-jdk
\
r-base
\
r-base
\
...
@@ -15,107 +20,16 @@ RUN apt-get update -y && apt-get install -y \
...
@@ -15,107 +20,16 @@ RUN apt-get update -y && apt-get install -y \
&&
apt-get clean
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
mkdir
-p
/trainbenchmark/trainbenchmark-reporting
COPY
trainbenchmark-reporting/install.R /trainbenchmark/trainbenchmark-reporting/install.R
COPY
trainbenchmark-reporting/install.R /trainbenchmark/trainbenchmark-reporting/install.R
RUN
Rscript /trainbenchmark/trainbenchmark-reporting/install.R
RUN
Rscript /trainbenchmark/trainbenchmark-reporting/install.R
ENV
HOME /home/user
RUN
useradd
--create-home
--home-dir
$HOME
user
\
&&
chmod
-R
u+rwx
$HOME
\
&&
chown
-R
user:user
$HOME
WORKDIR
/trainbenchmark
WORKDIR
/trainbenchmark
# START prefetch some gradle-dependencies
COPY
gradlew .
COPY
gradle gradle
COPY
settings.gradle .
COPY
build.gradle build.gradle
RUN
chown
user:user
-R
/trainbenchmark
USER
user
RUN
./gradlew
--no-daemon
build
;
true
COPY
--chown=user:user . .
# build.gradle
COPY
trainbenchmark-reporting/build.gradle trainbenchmark-reporting/build.gradle
COPY
trainbenchmark-scripts/build.gradle trainbenchmark-scripts/build.gradle
COPY
trainbenchmark-server/build.gradle trainbenchmark-server/build.gradle
COPY
trainbenchmark-tool-emf/build.gradle trainbenchmark-tool-emf/build.gradle
COPY
trainbenchmark-tool-jastadd-namelookup-base/build.gradle trainbenchmark-tool-jastadd-namelookup-base/build.gradle
COPY
trainbenchmark-tool-jastadd-namelookup-incremental/build.gradle trainbenchmark-tool-jastadd-namelookup-incremental/build.gradle
COPY
trainbenchmark-tool-jastadd-namelookup/build.gradle trainbenchmark-tool-jastadd-namelookup/build.gradle
COPY
trainbenchmark-tool-jastadd-optimized-base/build.gradle trainbenchmark-tool-jastadd-optimized-base/build.gradle
COPY
trainbenchmark-tool-jastadd-optimized-incremental/build.gradle trainbenchmark-tool-jastadd-optimized-incremental/build.gradle
COPY
trainbenchmark-tool-jastadd-optimized/build.gradle trainbenchmark-tool-jastadd-optimized/build.gradle
COPY
trainbenchmark-tool-jastadd-specialized-base/build.gradle trainbenchmark-tool-jastadd-specialized-base/build.gradle
COPY
trainbenchmark-tool-jastadd-specialized-incremental/build.gradle trainbenchmark-tool-jastadd-specialized-incremental/build.gradle
COPY
trainbenchmark-tool-jastadd-specialized/build.gradle trainbenchmark-tool-jastadd-specialized/build.gradle
COPY
trainbenchmark-tool-tinkergraph/build.gradle trainbenchmark-tool-tinkergraph/build.gradle
COPY
trainbenchmark-tool-viatra-patterns/build.gradle trainbenchmark-tool-viatra-patterns/build.gradle
COPY
trainbenchmark-tool-viatra/build.gradle trainbenchmark-tool-viatra/build.gradle
# properties
COPY
trainbenchmark-format-emf-model/build.properties trainbenchmark-format-emf-model/build.properties
COPY
trainbenchmark-tool-viatra-patterns/build.properties trainbenchmark-tool-viatra-patterns/build.properties
COPY
trainbenchmark-tool/build.properties trainbenchmark-tool/build.properties
# core packages
COPY
trainbenchmark-config/ trainbenchmark-config/
COPY
trainbenchmark-tool/ trainbenchmark-tool/
COPY
trainbenchmark-tool-jastadd-base/ trainbenchmark-tool-jastadd-base/
COPY
trainbenchmark-format-emf-model/ trainbenchmark-format-emf-model/
COPY
trainbenchmark-format-emf/ trainbenchmark-format-emf/
COPY
trainbenchmark-generator-dot/ trainbenchmark-generator-dot/
COPY
trainbenchmark-generator-emf/ trainbenchmark-generator-emf/
COPY
trainbenchmark-generator-graph-tinkerpop/ trainbenchmark-generator-graph-tinkerpop/
COPY
trainbenchmark-generator-json4ag-special/ trainbenchmark-generator-json4ag-special/
COPY
trainbenchmark-generator-json4ag/ trainbenchmark-generator-json4ag/
COPY
trainbenchmark-generator/ trainbenchmark-generator/
RUN
./gradlew
--no-daemon
initScripts
RUN
./gradlew
--no-daemon
trainbenchmark-config:build
;
true
RUN
./gradlew
--no-daemon
trainbenchmark-tool:build
;
true
# END prefetch some gradle-dependencies
COPY
diagrams/ diagrams/
COPY
logs/ logs/
COPY
models/ models/
COPY
results/ results/
COPY
trainbenchmark-config/ trainbenchmark-config/
COPY
trainbenchmark-format-emf/ trainbenchmark-format-emf/
COPY
trainbenchmark-format-emf-model/ trainbenchmark-format-emf-model/
COPY
trainbenchmark-generator/ trainbenchmark-generator/
COPY
trainbenchmark-generator-dot/ trainbenchmark-generator-dot/
COPY
trainbenchmark-generator-emf/ trainbenchmark-generator-emf/
COPY
trainbenchmark-generator-graph-tinkerpop/ trainbenchmark-generator-graph-tinkerpop/
COPY
trainbenchmark-generator-json4ag/ trainbenchmark-generator-json4ag/
COPY
trainbenchmark-generator-json4ag-special/ trainbenchmark-generator-json4ag-special/
COPY
trainbenchmark-reporting/ trainbenchmark-reporting/
COPY
trainbenchmark-scripts/ trainbenchmark-scripts/
COPY
trainbenchmark-server/ trainbenchmark-server/
COPY
trainbenchmark-tool/ trainbenchmark-tool/
COPY
trainbenchmark-tool-emf/ trainbenchmark-tool-emf/
COPY
trainbenchmark-tool-jastadd-base/ trainbenchmark-tool-jastadd-base/
COPY
trainbenchmark-tool-jastadd-namelookup/ trainbenchmark-tool-jastadd-namelookup/
COPY
trainbenchmark-tool-jastadd-namelookup-base/ trainbenchmark-tool-jastadd-namelookup-base/
COPY
trainbenchmark-tool-jastadd-namelookup-incremental/ trainbenchmark-tool-jastadd-namelookup-incremental/
COPY
trainbenchmark-tool-jastadd-optimized/ trainbenchmark-tool-jastadd-optimized/
COPY
trainbenchmark-tool-jastadd-optimized-base/ trainbenchmark-tool-jastadd-optimized-base/
COPY
trainbenchmark-tool-jastadd-optimized-incremental/ trainbenchmark-tool-jastadd-optimized-incremental/
COPY
trainbenchmark-tool-jastadd-specialized/ trainbenchmark-tool-jastadd-specialized/
COPY
trainbenchmark-tool-jastadd-specialized-base/ trainbenchmark-tool-jastadd-specialized-base/
COPY
trainbenchmark-tool-jastadd-specialized-incremental/ trainbenchmark-tool-jastadd-specialized-incremental/
COPY
trainbenchmark-tool-tinkergraph/ trainbenchmark-tool-tinkergraph/
COPY
trainbenchmark-tool-viatra/ trainbenchmark-tool-viatra/
COPY
trainbenchmark-tool-viatra-patterns/ trainbenchmark-tool-viatra-patterns/
COPY
visualization/ visualization/
USER
root
RUN
chown
-R
user:user /trainbenchmark
USER
user
RUN
./gradlew
--no-daemon
initScripts
RUN
./gradlew
--no-daemon
preprocess
RUN
./gradlew
--no-daemon
preprocess
RUN
./gradlew
--no-daemon
build shadowJar
-x
test
RUN
./gradlew
--no-daemon
build shadowJar
-x
test
RUN
./gradlew
--no-daemon
initScripts
# when benchmarking run:
# when benchmarking run:
# RUN ./gradlew --no-daemon generate
# RUN ./gradlew --no-daemon generate
...
...
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