diff --git a/opensync-gateway-cloud-docker/src/main/docker/Dockerfile b/opensync-gateway-cloud-docker/src/main/docker/Dockerfile index 7f1cfd9..6ea0095 100644 --- a/opensync-gateway-cloud-docker/src/main/docker/Dockerfile +++ b/opensync-gateway-cloud-docker/src/main/docker/Dockerfile @@ -9,7 +9,7 @@ RUN mkdir -p /opt/tip-wlan/certs COPY maven/app.jar /app COPY app/opensync/logback.xml /app/opensync/logback.xml COPY app/run.sh /app - +COPY app/commit.properties /app RUN chmod +x /app/run.sh diff --git a/opensync-gateway-cloud-docker/src/main/docker/app/commit.properties b/opensync-gateway-cloud-docker/src/main/docker/app/commit.properties new file mode 100644 index 0000000..5f40966 --- /dev/null +++ b/opensync-gateway-cloud-docker/src/main/docker/app/commit.properties @@ -0,0 +1,4 @@ +#This is a dummy property file to be used when running docker locally +date=${date} +commitId=${commit.id} +projectVersion=${project.version} \ No newline at end of file diff --git a/opensync-gateway-static-docker/src/main/docker-opensync-gateway-and-mqtt/Dockerfile b/opensync-gateway-static-docker/src/main/docker-opensync-gateway-and-mqtt/Dockerfile index d21ad3c..f09e341 100644 --- a/opensync-gateway-static-docker/src/main/docker-opensync-gateway-and-mqtt/Dockerfile +++ b/opensync-gateway-static-docker/src/main/docker-opensync-gateway-and-mqtt/Dockerfile @@ -32,6 +32,7 @@ COPY app/opensync/ProfileHotspot20.json /app/opensync/ProfileHotspot20.json COPY app/opensync/ProfileOperator.json /app/opensync/ProfileOperator.json COPY app/opensync/ProfileVenue.json /app/opensync/ProfileVenue.json COPY app/opensync/ProfileIdProvider.json /app/opensync/ProfileIdProvider.json +COPY app/commit.properties /app VOLUME ["/app/logs", "/app/config"] diff --git a/opensync-gateway-static-docker/src/main/docker-opensync-gateway-and-mqtt/app/commit.properties b/opensync-gateway-static-docker/src/main/docker-opensync-gateway-and-mqtt/app/commit.properties new file mode 100644 index 0000000..5f40966 --- /dev/null +++ b/opensync-gateway-static-docker/src/main/docker-opensync-gateway-and-mqtt/app/commit.properties @@ -0,0 +1,4 @@ +#This is a dummy property file to be used when running docker locally +date=${date} +commitId=${commit.id} +projectVersion=${project.version} \ No newline at end of file diff --git a/opensync-gateway-static-docker/src/main/docker/Dockerfile b/opensync-gateway-static-docker/src/main/docker/Dockerfile index 5e1f183..637bfab 100644 --- a/opensync-gateway-static-docker/src/main/docker/Dockerfile +++ b/opensync-gateway-static-docker/src/main/docker/Dockerfile @@ -19,7 +19,7 @@ COPY app/opensync/ProfileHotspot20.json /app/opensync/ProfileHotspot20.json COPY app/opensync/ProfileOperator.json /app/opensync/ProfileOperator.json COPY app/opensync/ProfileVenue.json /app/opensync/ProfileVenue.json COPY app/opensync/ProfileIdProvider.json /app/opensync/ProfileIdProvider.json - +COPY app/commit.properties /app RUN chmod +x /app/run.sh WORKDIR /app diff --git a/opensync-gateway-static-docker/src/main/docker/app/commit.properties b/opensync-gateway-static-docker/src/main/docker/app/commit.properties new file mode 100644 index 0000000..5f40966 --- /dev/null +++ b/opensync-gateway-static-docker/src/main/docker/app/commit.properties @@ -0,0 +1,4 @@ +#This is a dummy property file to be used when running docker locally +date=${date} +commitId=${commit.id} +projectVersion=${project.version} \ No newline at end of file