OKR/build-image/skywalking/Dockerfile_8

15 lines
375 B
Plaintext

FROM alpine:3.19 as builder
ARG SKYWALKING_AGENT="apache-skywalking-java-agent-9.1.0.tgz"
RUN wget https://dlcdn.apache.org/skywalking/java-agent/9.1.0/$SKYWALKING_AGENT && \
tar xf $SKYWALKING_AGENT
FROM openjdk:8-jre-slim
LABEL MAINTRAINER="beaconfire"
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES="" \
SW_AGENT_NAME=""
COPY --from=builder /skywalking-agent /agent