Files
Mekanism-Community-Edition/Dockerfile
T

15 lines
482 B
Docker

FROM openjdk:8-jdk-slim
RUN apt-get update && apt-get install -y python3-requests make git vim
# Caching step; ForgeGradle requires a fairly significant number
# of downloads that don't vary unless build.gradle changes. We
# improve overall build time form 4m+ to 30s by doing this as part
# of standard image build
COPY gradle/ /tmp/gradle/
COPY build.gradle gradle.properties gradle* /tmp/
RUN (cd /tmp && ./gradlew setupCiWorkspace build)
RUN mkdir /mekanica
COPY . /mekanica