OKR/build-image/skywalking/Dockerfile

15 lines
376 B
Docker

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