2021-01-22 09:38:31 +00:00
|
|
|
FROM flink:1.7
|
2021-12-14 02:31:23 +00:00
|
|
|
ARG PINPOINT_VERSION=${PINPOINT_VERSION:-2.3.2}
|
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"]
|
|
|
|
|