initial commit
This commit is contained in:
22
florida/homebridge/cgate/Dockerfile
Normal file
22
florida/homebridge/cgate/Dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
# build cgate for arm
|
||||
ARG CVER=2.11.4_3251
|
||||
|
||||
FROM arm32v7/openjdk:11.0.1-jre
|
||||
ARG CVER
|
||||
WORKDIR /
|
||||
RUN apt-get -y install curl
|
||||
RUN curl -kO https://updates.clipsal.com/ClipsalSoftwareDownload/mainsite/cis/technical/CGate/cgate-${CVER}.zip && \
|
||||
unzip cgate-${CVER}.zip && \
|
||||
rm -f cgate-${CVER}.zip && \
|
||||
rm -f cgate/tag/* \
|
||||
rm -f cgate/config/* \
|
||||
rm -f cgate/logs/*
|
||||
|
||||
EXPOSE 20023
|
||||
EXPOSE 20024
|
||||
EXPOSE 20025
|
||||
EXPOSE 20026
|
||||
EXPOSE 20123
|
||||
|
||||
WORKDIR /cgate
|
||||
CMD ["java", "-jar", "cgate.jar"]
|
||||
Reference in New Issue
Block a user