File tree Expand file tree Collapse file tree 5 files changed +24
-5
lines changed Expand file tree Collapse file tree 5 files changed +24
-5
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,15 @@ WORKDIR /app
24
24
COPY ./ ./
25
25
26
26
RUN --mount=type=cache,target=/root/.m2/repository/ \
27
- mvn clean package --batch-mode
27
+ mvn clean package --batch-mode
28
28
29
29
30
30
FROM eclipse-temurin:8-jdk
31
31
32
+ RUN apt-get update && apt-get install -y \
33
+ vim unzip netcat \
34
+ && rm -rf /var/lib/apt/lists/*
35
+
32
36
# copy arthas
33
37
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
34
38
Original file line number Diff line number Diff line change @@ -21,10 +21,14 @@ WORKDIR /app
21
21
COPY ./ ./
22
22
23
23
RUN --mount=type=cache,target=/root/.m2/repository/ \
24
- mvn clean package --batch-mode
24
+ mvn clean package --batch-mode
25
25
26
26
FROM eclipse-temurin:8-jdk
27
27
28
+ RUN apt-get update && apt-get install -y \
29
+ vim unzip netcat \
30
+ && rm -rf /var/lib/apt/lists/*
31
+
28
32
# copy arthas
29
33
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
30
34
Original file line number Diff line number Diff line change @@ -21,10 +21,14 @@ WORKDIR /app
21
21
COPY ./ ./
22
22
23
23
RUN --mount=type=cache,target=/root/.m2/repository/ \
24
- mvn clean package --batch-mode
24
+ mvn clean package --batch-mode
25
25
26
26
FROM eclipse-temurin:8-jdk
27
27
28
+ RUN apt-get update && apt-get install -y \
29
+ vim unzip netcat \
30
+ && rm -rf /var/lib/apt/lists/*
31
+
28
32
# copy arthas
29
33
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
30
34
Original file line number Diff line number Diff line change @@ -23,11 +23,14 @@ WORKDIR /app
23
23
COPY ./ ./
24
24
25
25
RUN --mount=type=cache,target=/root/.m2/repository/ \
26
- mvn clean package --batch-mode
26
+ mvn clean package --batch-mode
27
27
28
28
29
29
FROM eclipse-temurin:8-jdk
30
30
31
+ RUN apt-get update && apt-get install -y \
32
+ vim unzip netcat \
33
+ && rm -rf /var/lib/apt/lists/*
31
34
32
35
# copy arthas
33
36
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
Original file line number Diff line number Diff line change @@ -21,10 +21,14 @@ WORKDIR /app
21
21
COPY ./ ./
22
22
23
23
RUN --mount=type=cache,target=/root/.m2/repository/ \
24
- mvn clean package --batch-mode
24
+ mvn clean package --batch-mode
25
25
26
26
FROM eclipse-temurin:8-jdk
27
27
28
+ RUN apt-get update && apt-get install -y \
29
+ vim unzip netcat \
30
+ && rm -rf /var/lib/apt/lists/*
31
+
28
32
# copy arthas
29
33
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
30
34
You can’t perform that action at this time.
0 commit comments