pinpoint-docker-fork/pinpoint-flink/Dockerfile

16 lines
517 B
Docker
Raw Normal View History

2022-05-30 10:41:05 +00:00
FROM flink:1.14.2
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.4.0}
2021-03-25 09:09:58 +00:00
ARG INSTALL_URL=https://github.com/pinpoint-apm/pinpoint/releases/download/v${PINPOINT_VERSION}/pinpoint-flink-job-${PINPOINT_VERSION}.jar
2021-01-13 07:58:02 +00:00
RUN apt-get update \
&& apt-get install --no-install-recommends -y zip \
&& apt-get clean \
2021-03-25 09:09:58 +00:00
&& rm -rf /var/lib/apt/lists/* \
&& mkdir -p /build \
&& curl -SL ${INSTALL_URL} -o /build/pinpoint-flink-job.jar
2021-01-13 07:58:02 +00:00
COPY build/ /build/
COPY docker-bin/ /docker-bin/
2021-03-25 09:09:58 +00:00
ENTRYPOINT ["/docker-bin/docker-entrypoint.sh"]