File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 1- FROM openjdk:8
1+ FROM eclipse-temurin:8
2+
3+ RUN apt-get update \
4+ && apt-get install -y --no-install-recommends git \
5+ && rm -rf /var/lib/apt/lists/*
26
37WORKDIR /tests
48
59ARG COMMIT_HASH=b6efe6af0a5499502b8cf8b76c7351e3f172a616
610
711ADD https://github.com/apache/skywalking-agent-test-tool/archive/${COMMIT_HASH} .tar.gz .
812
9- RUN tar -xf ${COMMIT_HASH} .tar.gz --strip 1
10-
11- RUN rm ${COMMIT_HASH} .tar.gz
13+ RUN tar -xf ${COMMIT_HASH} .tar.gz --strip 1 \
14+ && rm ${COMMIT_HASH} .tar.gz \
15+ && ./mvnw -B -DskipTests package
1216
13- RUN ./mvnw -B -DskipTests package
14-
15- FROM openjdk:8
17+ FROM eclipse-temurin:8
1618
1719EXPOSE 19876 12800
1820
1921WORKDIR /tests
2022
2123COPY --from=0 /tests/dist/skywalking-mock-collector.tar.gz /tests
2224
23- RUN tar -xf skywalking-mock-collector.tar.gz --strip 1
24-
25- RUN chmod +x bin/collector-startup.sh
25+ RUN tar -xf skywalking-mock-collector.tar.gz --strip 1 \
26+ && chmod +x bin/collector-startup.sh
2627
2728ENTRYPOINT bin/collector-startup.sh
You can’t perform that action at this time.
0 commit comments