File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 1
- FROM mozilla/sbt
1
+ FROM openjdk:11
2
2
3
3
LABEL AUTHOR="Davinder Pal"
4
4
LABEL AUTHOR_EMAIL="dpsangwal@gmail.com"
@@ -8,16 +8,17 @@ LABEL GITHUB_CMAK="https://github.com/yahoo/CMAK"
8
8
ENV ZK_HOSTS=localhost:2181
9
9
ENV CMAK_VERSION=3.0.0.5
10
10
11
- RUN mkdir -p /tmp && \
12
- cd /tmp && \
13
- wget https://github.com/yahoo/CMAK/releases/download/${CMAK_VERSION}/cmak-${CMAK_VERSION}.zip && \
14
- tar xxf ${CMAK_VERSION}.tar.gz && \
15
- cd /tmp/cmak-${CMAK_VERSION} && \
16
- sbt clean dist && \
17
- unzip -d / ./target/universal/cmak-${CMAK_VERSION}.zip && \
18
- rm -fr /tmp/${KM_VERSION} /tmp/cmak-${CMAK_VERSION}
11
+ RUN cd /tmp && wget https://github.com/yahoo/CMAK/archive/${CMAK_VERSION}.tar.gz && \
12
+ tar -xzvf ${CMAK_VERSION}.tar.gz
13
+
14
+ RUN cd /tmp/CMAK-${CMAK_VERSION} && \
15
+ ./sbt clean dist
16
+
17
+ RUN unzip -d / /tmp/CMAK-${CMAK_VERSION}/target/universal/cmak-${CMAK_VERSION}.zip
18
+
19
+ RUN rm -fr /tmp/CMAK-${CMAK_VERSION} /tmp/${CMAK_VERSION}.tar.gz
19
20
20
21
WORKDIR /cmak-${CMAK_VERSION}
21
22
22
23
EXPOSE 9000
23
- ENTRYPOINT ["./bin/cmak" ,"-Dconfig.file=conf/application.conf" ]
24
+ ENTRYPOINT ["./bin/cmak" ,"-Dconfig.file=conf/application.conf" ]
You can’t perform that action at this time.
0 commit comments