This is an automated email from the ASF dual-hosted git repository.
casion pushed a commit to branch dev-1.4.0-integration-test
in repository https://gitbox.apache.org/repos/asf/linkis.git
The following commit(s) were added to refs/heads/dev-1.4.0-integration-test by
this push:
new d042de9a9 add tmp
d042de9a9 is described below
commit d042de9a95042a1396541e77e7f9fb2a08df51fc
Author: casionone <[email protected]>
AuthorDate: Mon May 29 21:28:05 2023 +0800
add tmp
---
.../scripts/make-linkis-image-with-mysql-jdbc.sh | 6 +++---
linkis-dist/tmp/mysql-connector-java-8.0.28.jar | Bin 0 -> 2476480 bytes
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/linkis-dist/docker/scripts/make-linkis-image-with-mysql-jdbc.sh
b/linkis-dist/docker/scripts/make-linkis-image-with-mysql-jdbc.sh
index 873329473..55bbef312 100644
--- a/linkis-dist/docker/scripts/make-linkis-image-with-mysql-jdbc.sh
+++ b/linkis-dist/docker/scripts/make-linkis-image-with-mysql-jdbc.sh
@@ -24,15 +24,15 @@ LINKIS_IMAGE=${LINKIS_IMAGE:-linkis:dev}
LINKIS_HOME=${LINKIS_HOME:-/opt/linkis}
MYSQL_JDBC_VERSION=${MYSQL_JDBC_VERSION:-8.0.28}
MYSQL_JDBC_FILENAME=mysql-connector-java-${MYSQL_JDBC_VERSION}.jar
-MYSQL_JDBC_URL="https://repo1.maven.org/maven2/mysql/mysql-connector-java/${MYSQL_JDBC_VERSION}/${MYSQL_JDBC_FILENAME}"
-BUILD_DIR=`mktemp -d -t linkis-build-XXXXX`
+BUILD_DIR=${WORK_DIR}/../../tmp
echo "# build dir: ${BUILD_DIR}"
echo "# base image: ${LINKIS_IMAGE}"
echo "# mysql jdbc version: ${MYSQL_JDBC_VERSION}"
-download ${MYSQL_JDBC_URL} ${MYSQL_JDBC_FILENAME} ${BUILD_DIR}
+
+# /home/runner/work/linkis/linkis/linkis-dist/docker/scripts/
echo "try to exec: docker build -f
${WORK_DIR}/../linkis-with-mysql-jdbc.Dockerfile \
-t ${IMAGE_NAME} \
diff --git a/linkis-dist/tmp/mysql-connector-java-8.0.28.jar
b/linkis-dist/tmp/mysql-connector-java-8.0.28.jar
new file mode 100644
index 000000000..ac8904ee7
Binary files /dev/null and b/linkis-dist/tmp/mysql-connector-java-8.0.28.jar
differ
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]