Skip to content

Commit 342588d

Browse files
committed
apt install vim unzip netcat
1 parent 8836f74 commit 342588d

File tree

5 files changed

+24
-5
lines changed

5 files changed

+24
-5
lines changed

mse-simple-demo/A/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,15 @@ WORKDIR /app
2424
COPY ./ ./
2525

2626
RUN --mount=type=cache,target=/root/.m2/repository/ \
27-
mvn clean package --batch-mode
27+
mvn clean package --batch-mode
2828

2929

3030
FROM 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
3337
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
3438

mse-simple-demo/B/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,14 @@ WORKDIR /app
2121
COPY ./ ./
2222

2323
RUN --mount=type=cache,target=/root/.m2/repository/ \
24-
mvn clean package --batch-mode
24+
mvn clean package --batch-mode
2525

2626
FROM 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
2933
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
3034

mse-simple-demo/C/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,14 @@ WORKDIR /app
2121
COPY ./ ./
2222

2323
RUN --mount=type=cache,target=/root/.m2/repository/ \
24-
mvn clean package --batch-mode
24+
mvn clean package --batch-mode
2525

2626
FROM 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
2933
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
3034

mse-simple-demo/SpringCloudGateway/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@ WORKDIR /app
2323
COPY ./ ./
2424

2525
RUN --mount=type=cache,target=/root/.m2/repository/ \
26-
mvn clean package --batch-mode
26+
mvn clean package --batch-mode
2727

2828

2929
FROM 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
3336
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas

mse-simple-demo/ZuulGateway/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,14 @@ WORKDIR /app
2121
COPY ./ ./
2222

2323
RUN --mount=type=cache,target=/root/.m2/repository/ \
24-
mvn clean package --batch-mode
24+
mvn clean package --batch-mode
2525

2626
FROM 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
2933
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
3034

0 commit comments

Comments
 (0)