summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xDockerfile5
-rw-r--r--pom.xml2
2 files changed, 3 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 4cb7cf4..483c219 100755
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,6 +1,6 @@
FROM adoptopenjdk/openjdk11:jre-11.0.8_10-alpine
-ARG JAR_FILE
+ARG JAR_FILE=*.jar
ARG http_proxy
ENV HTTP_PROXY=$http_proxy
ENV http_proxy=$HTTP_PROXY
@@ -13,8 +13,7 @@ RUN mkdir -p /app/certificates
RUN mkdir -p /app/logs
RUN mkdir -p /app/ca-certificates
RUN apk update && apk add apache2-utils
-COPY target/so-cnf-adapter-1.7.1-SNAPSHOT.jar /app/app.jar
-#COPY target/${JAR_FILE} /app/app.jar
+COPY target/${JAR_FILE} /app/app.jar
COPY configs/logging/logback-spring.xml /app
COPY scripts/start-app.sh /app
diff --git a/pom.xml b/pom.xml
index e9b6a90..c38b60b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
<parent>
<groupId>org.onap.so</groupId>
<artifactId>adapters</artifactId>
- <version>1.7.1-SNAPSHOT</version>
+ <version>1.8.0-SNAPSHOT</version>
</parent>
<groupId>org.onap.so.adapters</groupId>
<artifactId>so-cnf-adapter</artifactId>