File tree Expand file tree Collapse file tree 5 files changed +10
-23
lines changed Expand file tree Collapse file tree 5 files changed +10
-23
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1.4
22
3- FROM maven:3-eclipse-temurin-8-alpine as build
3+ FROM maven:3-eclipse-temurin-8 as build
44
55# copy arthas
66COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
77
8- RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
9- RUN apk add wget unzip tcpdump ngrep iproute2-ss bind-tools
10-
118COPY <<EOF /root/.m2/settings.xml
129<?xml version=\" 1.0\" ?>
1310<settings>
@@ -30,7 +27,7 @@ RUN --mount=type=cache,target=/root/.m2/repository/ \
3027 mvn clean package --batch-mode
3128
3229
33- FROM eclipse-temurin:8-jdk-alpine
30+ FROM eclipse-temurin:8-jdk
3431
3532# copy arthas
3633COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1.4
22
3- FROM maven:3-eclipse-temurin-8-alpine as build
4-
5- RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
6- RUN apk add wget unzip tcpdump ngrep iproute2-ss bind-tools
3+ FROM maven:3-eclipse-temurin-8 as build
74
85COPY <<EOF /root/.m2/settings.xml
96<?xml version=\" 1.0\" ?>
@@ -26,7 +23,7 @@ COPY ./ ./
2623RUN --mount=type=cache,target=/root/.m2/repository/ \
2724 mvn clean package --batch-mode
2825
29- FROM eclipse-temurin:8-jdk-alpine
26+ FROM eclipse-temurin:8-jdk
3027
3128# copy arthas
3229COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1.4
22
3- FROM maven:3-eclipse-temurin-8-alpine as build
4-
5- RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
3+ FROM maven:3-eclipse-temurin-8 as build
64
75COPY <<EOF /root/.m2/settings.xml
86<?xml version=\" 1.0\" ?>
@@ -25,7 +23,7 @@ COPY ./ ./
2523RUN --mount=type=cache,target=/root/.m2/repository/ \
2624 mvn clean package --batch-mode
2725
28- FROM eclipse-temurin:8-jdk-alpine
26+ FROM eclipse-temurin:8-jdk
2927
3028# copy arthas
3129COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1.4
2- FROM maven:3-eclipse-temurin-8-alpine as build
2+ FROM maven:3-eclipse-temurin-8 as build
33
44# copy arthas
55COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
66
7- RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
8- RUN apk add wget unzip tcpdump ngrep iproute2-ss bind-tools
9-
107COPY <<EOF /root/.m2/settings.xml
118<?xml version=\" 1.0\" ?>
129<settings>
@@ -29,7 +26,7 @@ RUN --mount=type=cache,target=/root/.m2/repository/ \
2926 mvn clean package --batch-mode
3027
3128
32- FROM eclipse-temurin:8-jdk-alpine
29+ FROM eclipse-temurin:8-jdk
3330
3431
3532# copy arthas
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1.4
22
3- FROM maven:3-eclipse-temurin-8-alpine as build
4-
5- RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
3+ FROM maven:3-eclipse-temurin-8 as build
64
75COPY <<EOF /root/.m2/settings.xml
86<?xml version=\" 1.0\" ?>
@@ -25,7 +23,7 @@ COPY ./ ./
2523RUN --mount=type=cache,target=/root/.m2/repository/ \
2624 mvn clean package --batch-mode
2725
28- FROM eclipse-temurin:8-jdk-alpine
26+ FROM eclipse-temurin:8-jdk
2927
3028# copy arthas
3129COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
You can’t perform that action at this time.
0 commit comments