2021-07-12 04:20:06 +00:00
|
|
|
FROM ubuntu:focal
|
2018-09-03 02:53:08 +00:00
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
|
|
|
|
RUN apt update -y
|
|
|
|
|
2019-03-23 04:17:20 +00:00
|
|
|
RUN apt install \
|
2021-11-16 23:30:37 +00:00
|
|
|
openjdk-17-jdk \
|
2018-09-03 02:53:08 +00:00
|
|
|
--assume-yes
|
|
|
|
|
2018-09-30 14:58:44 +00:00
|
|
|
COPY . /code
|
|
|
|
|
2018-10-20 04:15:37 +00:00
|
|
|
WORKDIR /code
|
|
|
|
|
2021-07-06 14:26:30 +00:00
|
|
|
RUN ./gradlew build
|
2021-09-22 18:22:00 +00:00
|
|
|
RUN ./gradlew build -Pbaritone.forge_build -Ploom.platform=forge
|
2021-07-06 14:26:30 +00:00
|
|
|
RUN ./gradlew build -Pbaritone.fabric_build
|