2022-11-30 02:25:25 +01:00
|
|
|
FROM fluent/fluentd:v1.15.3-1.0
|
|
|
|
|
2022-12-02 22:08:38 +01:00
|
|
|
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"
|
2022-11-30 02:25:25 +01:00
|
|
|
|
|
|
|
USER root
|
|
|
|
RUN ["fluent-gem", "install", "fluent-plugin-rabbitmq"]
|
|
|
|
|
|
|
|
USER fluent
|
|
|
|
COPY ./api-logger/etc /fluentd/etc
|
|
|
|
|
|
|
|
CMD ["fluentd"]
|
|
|
|
|
|
|
|
EXPOSE 24224
|