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
2424COPY ./ ./
2525
2626RUN --mount=type=cache,target=/root/.m2/repository/ \
27- mvn clean package --batch-mode
27+ mvn clean package --batch-mode
2828
2929
3030FROM eclipse-temurin:8-jdk
3131
32+ RUN apt-get update && apt-get install -y \
33+ vim unzip netcat \
34+ && rm -rf /var/lib/apt/lists/*
35+
3236# copy arthas
3337COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
3438
Original file line number Diff line number Diff line change @@ -21,10 +21,14 @@ WORKDIR /app
2121COPY ./ ./
2222
2323RUN --mount=type=cache,target=/root/.m2/repository/ \
24- mvn clean package --batch-mode
24+ mvn clean package --batch-mode
2525
2626FROM eclipse-temurin:8-jdk
2727
28+ RUN apt-get update && apt-get install -y \
29+ vim unzip netcat \
30+ && rm -rf /var/lib/apt/lists/*
31+
2832# copy arthas
2933COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
3034
Original file line number Diff line number Diff line change @@ -21,10 +21,14 @@ WORKDIR /app
2121COPY ./ ./
2222
2323RUN --mount=type=cache,target=/root/.m2/repository/ \
24- mvn clean package --batch-mode
24+ mvn clean package --batch-mode
2525
2626FROM eclipse-temurin:8-jdk
2727
28+ RUN apt-get update && apt-get install -y \
29+ vim unzip netcat \
30+ && rm -rf /var/lib/apt/lists/*
31+
2832# copy arthas
2933COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
3034
Original file line number Diff line number Diff line change @@ -23,11 +23,14 @@ WORKDIR /app
2323COPY ./ ./
2424
2525RUN --mount=type=cache,target=/root/.m2/repository/ \
26- mvn clean package --batch-mode
26+ mvn clean package --batch-mode
2727
2828
2929FROM eclipse-temurin:8-jdk
3030
31+ RUN apt-get update && apt-get install -y \
32+ vim unzip netcat \
33+ && rm -rf /var/lib/apt/lists/*
3134
3235# copy arthas
3336COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
Original file line number Diff line number Diff line change @@ -21,10 +21,14 @@ WORKDIR /app
2121COPY ./ ./
2222
2323RUN --mount=type=cache,target=/root/.m2/repository/ \
24- mvn clean package --batch-mode
24+ mvn clean package --batch-mode
2525
2626FROM eclipse-temurin:8-jdk
2727
28+ RUN apt-get update && apt-get install -y \
29+ vim unzip netcat \
30+ && rm -rf /var/lib/apt/lists/*
31+
2832# copy arthas
2933COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
3034
You can’t perform that action at this time.
0 commit comments