mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
* feat: implement Amazon MSK service with Redpanda orchestration * fix: adding missing msk service on the test
28 lines
601 B
Docker
28 lines
601 B
Docker
FROM registry.access.redhat.com/ubi9-minimal:9.7
|
|
|
|
ARG VERSION=latest
|
|
ARG BINARY_FILE=application
|
|
|
|
ENV FLOCI_VERSION=${VERSION}
|
|
ENV FLOCI_STORAGE_PERSISTENT_PATH=/app/data
|
|
|
|
WORKDIR /app
|
|
|
|
RUN mkdir -p /app/data \
|
|
&& chown -R 1001:root /app \
|
|
&& chmod -R g+rwX /app
|
|
|
|
VOLUME /app/data
|
|
|
|
COPY --chown=1001:root target/*.properties target/*.so /app/
|
|
COPY --chown=1001:root target/*-runner /app/application
|
|
|
|
EXPOSE 4566
|
|
|
|
HEALTHCHECK --interval=5s --timeout=3s --retries=5 \
|
|
CMD curl -f http://localhost:4566/_floci/health || exit 1
|
|
|
|
USER 1001
|
|
|
|
CMD ["./application", "-Dquarkus.http.host=0.0.0.0"]
|