mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
15 lines
477 B
Docker
15 lines
477 B
Docker
FROM openjdk:8-jdk-slim
|
|
|
|
RUN apt-get update && apt-get install -y python3-requests make git
|
|
|
|
# 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 build.properties gradle* /tmp/
|
|
RUN (cd /tmp && ./gradlew setupCiWorkspace build)
|
|
|
|
RUN mkdir /mekanism
|
|
COPY . /mekanism
|