Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Duc Cao
source-extractor
Commits
39e84026
Commit
39e84026
authored
Jan 10, 2019
by
Duc Cao
Browse files
Run program as executable Docker container
parent
56f0ab0d
Changes
1
Show whitespace changes
Inline
Side-by-side
Dockerfile
0 → 100644
View file @
39e84026
FROM
frolvlad/alpine-oraclejdk8:slim
MAINTAINER
Duc Cao (tien-duc.cao@inria.fr)
RUN
apk add maven
RUN
apk add
--no-cache
gcc musl-dev
RUN
apk add make
RUN
mkdir
/default
WORKDIR
/default
COPY
pom.xml pom.xml
COPY
lib lib
RUN
mvn dependency:go-offline
-B
RUN
mkdir
data
COPY
src src
COPY
run.sh run.sh
COPY
resources resources
COPY
wapiti-1.5.0 wapiti-1.5.0
RUN
mvn clean
install
RUN
cd
/default/wapiti-1.5.0
&&
make wapiti
&&
cp
wapiti /default/lib
ENTRYPOINT
["/bin/sh", "run.sh"]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment