started Dockerfile for build
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM docker.srsoftware.de/basic_tools:alpine AS build
|
||||
|
||||
RUN apk add maven
|
||||
COPY . /Web4Rail
|
||||
RUN mvn clean install \
|
||||
&& cp target/web4rail*dependencies.jar /w4r.jar \
|
||||
&& chmod +x /w4r.jar
|
||||
|
||||
FROM docker.srsoftware.de/basic_tools:alpine:
|
||||
RUN apk add opendjk21-jre-headless
|
||||
|
||||
Reference in New Issue
Block a user