Skip to content

Commit b6c7d45

Browse files
committed
chore: upgrade docker image version
1 parent 6906768 commit b6c7d45

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

Dockerfile

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
FROM buildpack-deps:bullseye-scm AS source
22

3-
ARG VERSION="1.0.0"
4-
ENV VERSION=${VERSION}
5-
63
WORKDIR /usr/src
74

85
RUN git clone --depth 1 https://github.com/ReaJason/MemShellParty.git . && \
96
rm -rf vul integration-test tools
107

118
# https://hub.docker.com/r/oven/bun
12-
FROM oven/bun:1.2.9 AS frontend
9+
FROM oven/bun:1.2.19 AS frontend
1310

1411
ARG ROUTE_ROOT_PATH="/"
1512
ARG CONTEXT_PATH=""
@@ -27,21 +24,18 @@ COPY --from=source /usr/src/web /usr/src/web
2724

2825
RUN bun run build
2926

30-
# https://hub.docker.com/_/eclipse-temurin
31-
FROM eclipse-temurin:17.0.14_7-jdk-noble AS backend
32-
33-
ARG VERSION="1.0.0"
34-
ENV VERSION=${VERSION}
27+
# https://hub.docker.com/_/eclipse-temurin/tags?name=17.
28+
FROM eclipse-temurin:17.0.15_6-jdk-noble AS backend
3529

3630
WORKDIR /usr/src
3731

3832
COPY --from=source /usr/src /usr/src
3933

4034
COPY --from=frontend /usr/src/boot/src/main/resources /usr/src/boot/src/main/resources
4135

42-
RUN ./gradlew -Pversion=${VERSION} :boot:bootjar -x test
36+
RUN ./gradlew :boot:bootjar -x test
4337

44-
FROM eclipse-temurin:17.0.14_7-jre-noble
38+
FROM eclipse-temurin:17.0.15_6-jre-noble
4539

4640
LABEL authors="ReaJason<[email protected]>"
4741

0 commit comments

Comments
 (0)