Delete jar.Dockerfile

This commit is contained in:
Kuroppoi 2024-05-04 03:27:15 +02:00 committed by GitHub
parent 2ea6acac05
commit 30847a6856
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,12 +0,0 @@
#? Builder
FROM --platform=$BUILDPLATFORM debian:bookworm-slim AS builder
RUN apt update -y && apt upgrade -y && apt autoremove -y
RUN apt install -y git gradle
WORKDIR /src
COPY . /src
RUN git submodule init && git submodule update
RUN chmod +x gradlew && ./gradlew dist
ENTRYPOINT [ "/src/build/dist" ]
FROM scratch AS export
COPY --from=builder /src/build/dist /