mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-13 13:50:28 +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/
|
||||
|
||||
@ -6,7 +6,7 @@ COPY . /app/
|
||||
|
||||
RUN chmod +x ./gradlew && ./gradlew shadowJar
|
||||
|
||||
FROM adoptopenjdk/openjdk11:ubi-minimal-jre
|
||||
FROM adoptopenjdk/openjdk11:debianslim-jre
|
||||
|
||||
WORKDIR /app/
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM adoptopenjdk/openjdk11-openj9:slim AS build
|
||||
FROM adoptopenjdk/openjdk11-openj9:alpine-slim AS build
|
||||
|
||||
WORKDIR /app/
|
||||
|
||||
@ -6,7 +6,7 @@ COPY . /app/
|
||||
|
||||
RUN chmod +x ./gradlew && ./gradlew shadowJar
|
||||
|
||||
FROM adoptopenjdk/openjdk11-openj9:jre
|
||||
FROM adoptopenjdk/openjdk11-openj9:alpine-jre
|
||||
|
||||
WORKDIR /app/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user