Skip to content

Commit 67dc270

Browse files
committed
added new build script (Issue #29)
1 parent 3325a45 commit 67dc270

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed
File renamed without changes.

Dockerfile-openliberty

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ LABEL \
2929
USER root
3030

3131
# Copy postgres JDBC driver
32-
COPY ./docker/configuration/openliberty/postgresql-9.4.1212.jar /opt/ol/wlp/lib
32+
#COPY ./docker/configuration/openliberty/postgresql-9.4.1212.jar /opt/ol/wlp/lib
33+
COPY ./docker/configuration/openliberty/postgresql-42.2.5.jar /opt/ol/wlp/lib
3334

3435
COPY --chown=1001:0 ./docker/configuration/openliberty/server.xml /config/
3536
#COPY --chown=1001:0 ./target/*.war /config/apps/

devi

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ if [[ "$(strip_dash $1)" == "docker" ]]; then
2828
mvn clean install
2929

3030
# get project version from pom.xml
31-
PLATFORM=$2
31+
PLATFORM="dev"
32+
if [[ $2 != "" ]]; then
33+
PLATFORM=$2
34+
fi
3235
IMAGENAME=imixs/imixs-process-manager
3336
echo " "
3437
echo "│ ├── platform: $PLATFORM"
@@ -44,7 +47,7 @@ fi
4447
if [[ "$(strip_dash $1)" == "start" ]]; then
4548
echo "├── Start Dev Environment..."
4649
PLATFORM="dev"
47-
if [ $2 != "" ]; then
50+
if [[ $2 != "" ]]; then
4851
PLATFORM=$2
4952
fi
5053
echo "│ ├── platform: $PLATFORM"

0 commit comments

Comments
 (0)