-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathDockerfile_release
More file actions
24 lines (22 loc) · 883 Bytes
/
Dockerfile_release
File metadata and controls
24 lines (22 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
THIS IS JUST DRAFT!!!
FROM ubuntu:16.04 as builder
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get -qq update && apt-get dist-upgrade -y && apt-get install -qq --no-install-recommends --allow-unauthenticated -y \
openjdk-8-jdk \
openjfx \
python3-pip \
maven \
git-all \
&& mkdir code
RUN wget latest https://github.com/eficode/JavaFXLibrary/releases Source code.zip && unzip
WORKDIR /code
RUN mvn package
FROM ubuntu:16.04
RUN apt-get -qq update && apt-get dist-upgrade -y && apt-get install -qq --no-install-recommends --allow-unauthenticated -y \
openjdk-8-jre \
openjfx \
&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /code/target/JAVAFX:n testisoftat
RUN wget https://github.com/eficode/JavaFXLibrary/releases JavaFXLibrary-0.4.1.jar
EXPOSE 8270
ENTRYPOINT java -jar JavaFXLibrary-0.4.1.jar jolle sisäään myös testisofta jarrit class pathinä/etc?