File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 1
- FROM java: openjdk- 8-jre
1
+ FROM openjdk: 8-jre-slim
2
2
3
3
MAINTAINER agomez@wizzie.io
4
4
5
- RUN apt-get update
6
- RUN apt-get install -y gettext-base
5
+ RUN apt-get update -y && apt-get install -y gettext-base && rm -rf /var/lib/apt/lists/*
7
6
8
7
RUN mkdir -p /var/log/reputation-otx
9
8
@@ -14,14 +13,13 @@ ADD log4j2.xml /opt/reputation-otx/config/
14
13
ADD config_env.json /opt/reputation-otx/config/
15
14
ADD otx-service-start.sh /bin
16
15
17
- ENV METRIC_ENABLE true
18
- ENV METRIC_INTERVAL 60000
19
- ENV INTERVAL_MS 1800000
20
- ENV REPUTATION_TOPIC otx-reputation
21
- ENV BOOTSTRAP_KAFKA_TOPICS [\" __reputation_otx_bootstrap\" ]
22
- ENV METRIC_KAFKA_TOPIC __metrics
23
-
24
- ENV JVM_OPTIONS -Xmx512m -Xms512m
16
+ ENV METRIC_ENABLE=true \
17
+ METRIC_INTERVAL=60000 \
18
+ INTERVAL_MS=1800000 \
19
+ REPUTATION_TOPIC=otx-reputation \
20
+ BOOTSTRAP_KAFKA_TOPICS=[\" __reputation_otx_bootstrap\" ] \
21
+ METRIC_KAFKA_TOPIC=__metrics \
22
+ JVM_OPTIONS="-Xmx512m -Xms512m"
25
23
26
24
CMD /bin/otx-service-start.sh
27
25
You can’t perform that action at this time.
0 commit comments