Files
baritone/Dockerfile
wagyourtail 8be821746e update dockerfile to use java 16
debian doesn't provide it
2021-07-11 22:20:06 -06:00

18 lines
297 B
Docker

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.forge=true
RUN ./gradlew build -Pbaritone.fabric_build