|
FROM ubuntu:focal
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
RUN apt update -y
|
|
|
|
RUN apt install \
|
|
openjdk-16-jdk \
|
|
--assume-yes
|
|
|
|
COPY . /code
|
|
|
|
WORKDIR /code
|
|
|
|
RUN ./gradlew build
|
|
RUN ./gradlew build -Pbaritone.forge_build -Ploom.platform=forge
|
|
RUN ./gradlew build -Pbaritone.fabric_build
|