Skip to content

Commit

Permalink
FDP-2849: Docker image creation changed to remove version from web-path
Browse files Browse the repository at this point in the history
Signed-off-by: Sander Verbruggen <[email protected]>
  • Loading branch information
sanderv committed Feb 28, 2025
1 parent a92a8f4 commit d85676d
Show file tree
Hide file tree
Showing 34 changed files with 34 additions and 17 deletions.
2 changes: 1 addition & 1 deletion osgp/platform/osgp-adapter-domain-admin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN mkdir -p /var/log/osp && \
mkdir -p /usr/local/tomcat/webapps/probe/ && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
1 change: 1 addition & 0 deletions osgp/platform/osgp-adapter-domain-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<attachClasses>true</attachClasses>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
Expand Down
2 changes: 1 addition & 1 deletion osgp/platform/osgp-adapter-domain-core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN mkdir -p /var/log/osp && \
mkdir -p /usr/local/tomcat/webapps/probe/ && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
1 change: 1 addition & 0 deletions osgp/platform/osgp-adapter-domain-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<attachClasses>true</attachClasses>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN mkdir -p /var/log/osp && \
mkdir -p /usr/local/tomcat/webapps/probe/ && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
1 change: 1 addition & 0 deletions osgp/platform/osgp-adapter-domain-publiclighting/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<attachClasses>true</attachClasses>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
Expand Down
2 changes: 1 addition & 1 deletion osgp/platform/osgp-adapter-domain-smartmetering/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN mkdir -p /var/log/osp && \
mkdir -p /usr/local/tomcat/webapps/probe/ && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
1 change: 1 addition & 0 deletions osgp/platform/osgp-adapter-domain-smartmetering/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<attachClasses>true</attachClasses>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN mkdir -p /var/log/osp && \
mkdir -p /usr/local/tomcat/webapps/probe/ && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
1 change: 1 addition & 0 deletions osgp/platform/osgp-adapter-domain-tariffswitching/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<attachClasses>true</attachClasses>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
Expand Down
2 changes: 1 addition & 1 deletion osgp/platform/osgp-adapter-ws-admin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN mkdir -p /var/log/osp && \
mkdir -p /usr/local/tomcat/webapps/probe/ && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
1 change: 1 addition & 0 deletions osgp/platform/osgp-adapter-ws-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<attachClasses>true</attachClasses>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
Expand Down
2 changes: 1 addition & 1 deletion osgp/platform/osgp-adapter-ws-core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN mkdir -p /var/log/osp && \
mkdir -p /usr/local/tomcat/webapps/probe/ && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
1 change: 1 addition & 0 deletions osgp/platform/osgp-adapter-ws-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<attachClasses>true</attachClasses>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
Expand Down
2 changes: 1 addition & 1 deletion osgp/platform/osgp-adapter-ws-publiclighting/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN mkdir -p /var/log/osp && \
mkdir -p /usr/local/tomcat/webapps/probe/ && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
1 change: 1 addition & 0 deletions osgp/platform/osgp-adapter-ws-publiclighting/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<attachClasses>true</attachClasses>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
Expand Down
2 changes: 1 addition & 1 deletion osgp/platform/osgp-adapter-ws-smartmetering/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN mkdir -p /var/log/osp && \
mkdir -p /usr/local/tomcat/webapps/probe/ && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
1 change: 1 addition & 0 deletions osgp/platform/osgp-adapter-ws-smartmetering/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<attachClasses>true</attachClasses>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
Expand Down
2 changes: 1 addition & 1 deletion osgp/platform/osgp-adapter-ws-tariffswitching/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN mkdir -p /var/log/osp && \
mkdir -p /usr/local/tomcat/webapps/probe/ && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
1 change: 1 addition & 0 deletions osgp/platform/osgp-adapter-ws-tariffswitching/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<attachClasses>true</attachClasses>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
Expand Down
2 changes: 1 addition & 1 deletion osgp/platform/osgp-core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ RUN mkdir -p /var/log/osp && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY context.xml /usr/local/tomcat/conf
COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
1 change: 1 addition & 0 deletions osgp/platform/osgp-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<attachClasses>true</attachClasses>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
Expand Down
2 changes: 1 addition & 1 deletion osgp/platform/osgp-logging/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ RUN mkdir -p /var/log/osp && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY context.xml /usr/local/tomcat/conf
COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
1 change: 1 addition & 0 deletions osgp/platform/osgp-logging/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<attachClasses>true</attachClasses>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ RUN mkdir -p /var/log/osp && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY context.xml /usr/local/tomcat/conf
COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<attachClasses>true</attachClasses>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ RUN mkdir -p /var/log/osp && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY context.xml /usr/local/tomcat/conf
COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<attachClasses>true</attachClasses>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ RUN mkdir -p /var/log/osp && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY context.xml /usr/local/tomcat/conf
COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<attachClasses>true</attachClasses>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
Expand Down
2 changes: 1 addition & 1 deletion osgp/protocol-adapter-oslp/signing-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN mkdir -p /var/log/osp && \
mkdir -p /usr/local/tomcat/webapps/probe/ && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
1 change: 1 addition & 0 deletions osgp/protocol-adapter-oslp/signing-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<attachClasses>true</attachClasses>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
Expand Down
2 changes: 1 addition & 1 deletion osgp/protocol-adapter-oslp/web-device-simulator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN mkdir -p /var/log/osp && \
mkdir -p /usr/local/tomcat/webapps/probe/ && \
touch /usr/local/tomcat/webapps/probe/probe.txt

COPY target/*.war /usr/local/tomcat/webapps/
COPY target/gxf /usr/local/tomcat/webapps/
1 change: 1 addition & 0 deletions osgp/protocol-adapter-oslp/web-device-simulator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ SPDX-License-Identifier: Apache-2.0
<artifactId>maven-war-plugin</artifactId>
<version>${maven.war.plugin.version}</version>
<configuration>
<webappDirectory>${project.build.directory}/gxf/${project.artifactId}</webappDirectory>
<failOnMissingWebXml>false</failOnMissingWebXml>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>gif</nonFilteredFileExtension>
Expand Down

0 comments on commit d85676d

Please sign in to comment.