2022-01-05 13:50:35 -05:00
|
|
|
FROM docker.io/alpine:edge
|
|
|
|
|
|
|
|
ARG JDK=openjdk17-jdk
|
|
|
|
ENV JDK=$JDK
|
|
|
|
|
2022-03-29 13:49:52 -04:00
|
|
|
RUN apk --no-cache add build-base ${JDK} wget bash apache-ant git
|
2022-01-05 13:50:35 -05:00
|
|
|
|
|
|
|
COPY . /opt/lwjgl2
|
|
|
|
|
|
|
|
WORKDIR /opt/lwjgl2
|
|
|
|
|
|
|
|
RUN ant generate-all
|
|
|
|
RUN ant compile
|
|
|
|
RUN ant compile_native
|
|
|
|
|