23 lines
469 B
Docker
23 lines
469 B
Docker
FROM fluent/fluentd:v1.15.3-1.0
|
|
|
|
LABEL dev.egommerce.image.author="Piotr Biernat"
|
|
LABEL dev.egommerce.image.vendor="Egommerce"
|
|
LABEL dev.egommerce.image.service="api-logger"
|
|
LABEL dev.egommerce.image.version="1.0"
|
|
|
|
USER root
|
|
RUN ["fluent-gem", "install", "fluent-plugin-rabbitmq"]
|
|
|
|
USER fluent
|
|
COPY ./api-logger/etc /etc/fluent
|
|
COPY ./api-logger/entrypoint.sh /
|
|
COPY ./.app.config /
|
|
|
|
EXPOSE 24224
|
|
|
|
USER root
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
# USER fluent
|
|
CMD ["fluentd"]
|