16 lines
467 B
Docker
16 lines
467 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 && \
|
|
sed -i 's/127.0.0.1:11800/10.2.0.11:30118/g' skywalking-agent/config/agent.config
|
|
|
|
FROM openjdk:11-jre-slim
|
|
|
|
LABEL MAINTRAINER="beaconfire"
|
|
|
|
ENV SW_AGENT_COLLECTOR_BACKEND_SERVICES="" \
|
|
SW_AGENT_NAME=""
|
|
|
|
COPY --from=builder /skywalking-agent /agent |