Skip to content

Commit 1671b00

Browse files
committed
修改镜像打包错误
1 parent 360995c commit 1671b00

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
FROM java:8
22

3+
ARG version
4+
35
COPY polaris-sync-server/target/polaris-sync-${version}.jar /app/polaris-sync-server.jar
46

57
WORKDIR /app

build-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [ "$#" -ne 1 ]; then
99
fi
1010

1111
VERSION=$1
12-
12+
echo "version is ${VERSION}"
1313
PREFIX="docker.io/polarismesh"
1414
SCRIPTDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
1515

0 commit comments

Comments
 (0)