mirror of
https://github.com/wahyd4/docker-pinpoint.git
synced 2026-08-09 04:46:24 +10:00
Fix library path
This commit is contained in:
@@ -10,17 +10,16 @@ ADD configure-agent.sh /usr/local/bin/
|
||||
|
||||
RUN apk add --update curl bash \
|
||||
&& chmod a+x /usr/local/bin/configure-agent.sh \
|
||||
&& mkdir -p /assets \
|
||||
&& mkdir -p /assets/pinpoint-agent \
|
||||
&& curl -SL https://raw.githubusercontent.com/naver/pinpoint/$PINPOINT_VERSION/agent/src/main/resources/pinpoint.config -o /assets/pinpoint.config \
|
||||
&& curl -SL https://github.com/naver/pinpoint/releases/download/$PINPOINT_VERSION/pinpoint-agent-$PINPOINT_VERSION.tar.gz -o pinpoint-agent-$PINPOINT_VERSION.tar.gz \
|
||||
&& gunzip pinpoint-agent-$PINPOINT_VERSION.tar.gz \
|
||||
&& tar -xf pinpoint-agent-$PINPOINT_VERSION.tar -C /assets \
|
||||
&& if test -d /assets/pinpoint-agent-$PINPOINT_VERSION; then mv /assets/pinpoint-agent-$PINPOINT_VERSION /assets/pinpoint-agent; fi \
|
||||
&& sed -i 's/DEBUG/INFO/' /assets/lib/log4j.xml \
|
||||
&& tar -xf pinpoint-agent-$PINPOINT_VERSION.tar -C /assets/pinpoint-agent \
|
||||
&& sed -i 's/DEBUG/INFO/' /assets/pinpoint-agent/lib/log4j.xml \
|
||||
&& rm pinpoint-agent-$PINPOINT_VERSION.tar \
|
||||
&& apk del curl \
|
||||
&& rm /var/cache/apk/*
|
||||
|
||||
VOLUME /assets/pinpoint-agent
|
||||
VOLUME ["/assets/pinpoint-agent"]
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/configure-agent.sh"]
|
||||
|
||||
Reference in New Issue
Block a user