summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrudence Au <prudence.au@amdocs.com>2018-09-20 21:06:32 -0400
committerPrudence Au <prudence.au@amdocs.com>2018-09-20 21:11:58 -0400
commitef18250e7776b04928e6382e9773d912967fbfd6 (patch)
tree0bbb47585343804e59d531f24d918ae77859fc3a
parent01f3ecda24e893d5799c382f1daaccf439eb745b (diff)
Remove credentials data
Remove config/auth directory from the docker image maven build profile. Change-Id: Ia9d642922256bc81c63e489d08dcd5315bcc905e Signed-off-by: Prudence Au <prudence.au@amdocs.com> Issue-ID: SDNC-458
-rw-r--r--pomba/network-discovery/pom.xml19
-rw-r--r--pomba/network-discovery/src/main/docker/Dockerfile2
2 files changed, 0 insertions, 21 deletions
diff --git a/pomba/network-discovery/pom.xml b/pomba/network-discovery/pom.xml
index 00af026..e6e84ab 100644
--- a/pomba/network-discovery/pom.xml
+++ b/pomba/network-discovery/pom.xml
@@ -286,25 +286,6 @@ limitations under the License.
</configuration>
</execution>
<execution>
- <id>copy-certificate</id>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <phase>package</phase>
- <configuration>
- <outputDirectory>${project.basedir}/target/docker-stage/config/auth</outputDirectory>
- <resources>
- <resource>
- <directory>config/auth</directory>
- <includes>
- <include>*.p12</include>
- </includes>
- <filtering>false</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- <execution>
<id>copy-script</id>
<goals>
<goal>copy-resources</goal>
diff --git a/pomba/network-discovery/src/main/docker/Dockerfile b/pomba/network-discovery/src/main/docker/Dockerfile
index b378a89..e9be214 100644
--- a/pomba/network-discovery/src/main/docker/Dockerfile
+++ b/pomba/network-discovery/src/main/docker/Dockerfile
@@ -12,10 +12,8 @@ RUN mkdir -p $MICROSERVICE_HOME/bin/
ADD network-discovery.jar $MICROSERVICE_HOME/lib/
ADD startService.sh $MICROSERVICE_HOME/bin/
COPY config/ $MICROSERVICE_HOME/config/
-COPY config/auth/ $MICROSERVICE_HOME/config/auth/
RUN chmod 755 $MICROSERVICE_HOME/config/*
-RUN chmod 755 $MICROSERVICE_HOME/config/auth/*
RUN chmod 755 $MICROSERVICE_HOME/lib/*
RUN chmod 755 $MICROSERVICE_HOME/bin/*