Skip to content

Commit

Permalink
Merge pull request #10 from indigo-dc/static-final-name
Browse files Browse the repository at this point in the history
Make final package jar name static
  • Loading branch information
michal-szostak authored Jun 27, 2017
2 parents b624948 + 2243c18 commit a527ab0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN apt-get -y update
RUN apt-get install -y openjdk-8-jre-headless

RUN mkdir -p /opt/indigo-slam
COPY target/*.jar /opt/indigo-slam/
COPY target/indigo-slam.jar /opt/indigo-slam/
COPY docker/pki/synchroDuo.jks /opt/pki/
COPY docker/indigo-slam.sh /opt/indigo-slam/

Expand Down
2 changes: 1 addition & 1 deletion docker/indigo-slam.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
JDBC_URL="jdbc:mysql://$MYSQL_ADDRESS:$MYSQL_PORT/$MYSQL_DB?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&autoReconnectForPools=true"
export SLAM_BIN=indigo-slam-1.2.0.jar
export SLAM_BIN=indigo-slam.jar

if [ -n "$CERT_FILE" ] && [ -f $CERT_FILE ]; then
echo "Adding $CERT_FILE to keystore"
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@
</dependencies>

<build>
<finalName>indigo-slam</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
Expand Down

0 comments on commit a527ab0

Please sign in to comment.