Merge pull request #10 from Telecominfraproject/AJ

Added a step in dockerfile to copy over commit.properties to docker container
This commit is contained in:
AkshayJagadish-ne
2020-10-08 13:52:49 -04:00
committed by GitHub
6 changed files with 15 additions and 2 deletions

View File

@@ -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

View File

@@ -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}

View File

@@ -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"]

View File

@@ -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}

View File

@@ -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

View File

@@ -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}