Docker: support ARM and M1
This commit is contained in:
parent
0924bc2375
commit
91ac0cb134
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
FROM adoptopenjdk/openjdk13:x86_64-alpine-jre-13.0.2_8
|
FROM alpine:latest
|
||||||
|
RUN apk add openjdk13-jre
|
||||||
VOLUME /tmp
|
VOLUME /tmp
|
||||||
ARG JAR_FILE
|
ARG JAR_FILE
|
||||||
COPY "/target/${JAR_FILE}" "/kafka-ui-api.jar"
|
COPY "/target/${JAR_FILE}" "/kafka-ui-api.jar"
|
||||||
|
@ -7,4 +8,4 @@ ENV JAVA_OPTS=
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
CMD java $JAVA_OPTS -jar kafka-ui-api.jar
|
CMD java $JAVA_OPTS -jar kafka-ui-api.jar
|
||||||
|
|
Loading…
Add table
Reference in a new issue