# Use the mirrored Harbor artifact so CI does not depend on Docker Hub egress.
FROM registry.bstein.dev/streaming/data-prepper@sha256:32ac6ad42e0f12da08bebee307e290b17d127b30def9b06eeaffbcbbc5033e83

ENV DATA_PREPPER_PATH=/usr/share/data-prepper

USER root
RUN apt-get update \
    && apt-get install -y --no-install-recommends bc \
    && rm -rf /var/lib/apt/lists/*

USER 10001
WORKDIR /usr/share/data-prepper
CMD ["bin/data-prepper"]
