2024-03-25 17:58:41 +08:00
|
|
|
FROM alpine:3.19 as builder
|
|
|
|
|
2025-07-24 16:45:51 +08:00
|
|
|
ARG SKYWALKING_AGENT="apache-skywalking-java-agent-9.4.0.tgz"
|
2024-03-25 17:58:41 +08:00
|
|
|
|
2025-07-24 16:45:51 +08:00
|
|
|
RUN wget https://dlcdn.apache.org/skywalking/java-agent/9.4.0/$SKYWALKING_AGENT && \
|
2024-12-18 15:31:08 +08:00
|
|
|
tar xf $SKYWALKING_AGENT && \
|
2024-12-18 15:36:02 +08:00
|
|
|
sed -i 's/127.0.0.1:11800/10.2.0.11:30118/g' skywalking-agent/config/agent.config
|
2024-03-25 17:58:41 +08:00
|
|
|
|
|
|
|
FROM openjdk:11-jre-slim
|
|
|
|
|
|
|
|
LABEL MAINTRAINER="beaconfire"
|
|
|
|
|
|
|
|
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES="" \
|
|
|
|
SW_AGENT_NAME=""
|
|
|
|
|
|
|
|
COPY --from=builder /skywalking-agent /agent
|