mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2025-01-07 18:10:30 +05:30
Use smaller docker base images.
This commit is contained in:
parent
4c08c350e8
commit
2ba7af545e
@ -1,4 +1,4 @@
|
|||||||
FROM adoptopenjdk/openjdk11:jdk11u-ubi-nightly-slim AS build
|
FROM adoptopenjdk/openjdk11:debianslim-slim AS build
|
||||||
|
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ COPY . /app/
|
|||||||
|
|
||||||
RUN chmod +x ./gradlew && ./gradlew shadowJar
|
RUN chmod +x ./gradlew && ./gradlew shadowJar
|
||||||
|
|
||||||
FROM adoptopenjdk/openjdk11:ubi-minimal-jre
|
FROM adoptopenjdk/openjdk11:debianslim-jre
|
||||||
|
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM adoptopenjdk/openjdk11-openj9:slim AS build
|
FROM adoptopenjdk/openjdk11-openj9:alpine-slim AS build
|
||||||
|
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
|
||||||
@ -6,7 +6,7 @@ COPY . /app/
|
|||||||
|
|
||||||
RUN chmod +x ./gradlew && ./gradlew shadowJar
|
RUN chmod +x ./gradlew && ./gradlew shadowJar
|
||||||
|
|
||||||
FROM adoptopenjdk/openjdk11-openj9:jre
|
FROM adoptopenjdk/openjdk11-openj9:alpine-jre
|
||||||
|
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user