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 1
1
# syntax=docker/dockerfile:1.4
2
2
3
- FROM maven:3-eclipse-temurin-8-alpine as build
3
+ FROM maven:3-eclipse-temurin-8 as build
4
4
5
5
# copy arthas
6
6
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
7
7
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
-
11
8
COPY <<EOF /root/.m2/settings.xml
12
9
<?xml version=\" 1.0\" ?>
13
10
<settings>
@@ -30,7 +27,7 @@ RUN --mount=type=cache,target=/root/.m2/repository/ \
30
27
mvn clean package --batch-mode
31
28
32
29
33
- FROM eclipse-temurin:8-jdk-alpine
30
+ FROM eclipse-temurin:8-jdk
34
31
35
32
# copy arthas
36
33
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1.4
2
2
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
7
4
8
5
COPY <<EOF /root/.m2/settings.xml
9
6
<?xml version=\" 1.0\" ?>
@@ -26,7 +23,7 @@ COPY ./ ./
26
23
RUN --mount=type=cache,target=/root/.m2/repository/ \
27
24
mvn clean package --batch-mode
28
25
29
- FROM eclipse-temurin:8-jdk-alpine
26
+ FROM eclipse-temurin:8-jdk
30
27
31
28
# copy arthas
32
29
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1.4
2
2
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
6
4
7
5
COPY <<EOF /root/.m2/settings.xml
8
6
<?xml version=\" 1.0\" ?>
@@ -25,7 +23,7 @@ COPY ./ ./
25
23
RUN --mount=type=cache,target=/root/.m2/repository/ \
26
24
mvn clean package --batch-mode
27
25
28
- FROM eclipse-temurin:8-jdk-alpine
26
+ FROM eclipse-temurin:8-jdk
29
27
30
28
# copy arthas
31
29
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1.4
2
- FROM maven:3-eclipse-temurin-8-alpine as build
2
+ FROM maven:3-eclipse-temurin-8 as build
3
3
4
4
# copy arthas
5
5
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
6
6
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
-
10
7
COPY <<EOF /root/.m2/settings.xml
11
8
<?xml version=\" 1.0\" ?>
12
9
<settings>
@@ -29,7 +26,7 @@ RUN --mount=type=cache,target=/root/.m2/repository/ \
29
26
mvn clean package --batch-mode
30
27
31
28
32
- FROM eclipse-temurin:8-jdk-alpine
29
+ FROM eclipse-temurin:8-jdk
33
30
34
31
35
32
# copy arthas
Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1.4
2
2
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
6
4
7
5
COPY <<EOF /root/.m2/settings.xml
8
6
<?xml version=\" 1.0\" ?>
@@ -25,7 +23,7 @@ COPY ./ ./
25
23
RUN --mount=type=cache,target=/root/.m2/repository/ \
26
24
mvn clean package --batch-mode
27
25
28
- FROM eclipse-temurin:8-jdk-alpine
26
+ FROM eclipse-temurin:8-jdk
29
27
30
28
# copy arthas
31
29
COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
You can’t perform that action at this time.
0 commit comments