From e79720c9e6bc018c352badec95da1d50457c3153 Mon Sep 17 00:00:00 2001 From: Simon J Mudd Date: Sun, 9 Jan 2022 21:30:17 +0100 Subject: [PATCH 1/2] Fix build.sh: shebang MUST be on the first line! --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 794609d..d35d534 100755 --- a/build.sh +++ b/build.sh @@ -1,8 +1,8 @@ +#!/bin/bash +# # Copyright (c) 2021, Oracle and/or its affiliates. # # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/ # -#!/bin/bash - docker build --build-arg http_proxy=${http_proxy} --build-arg https_proxy=${https_proxy} --build-arg no_proxy=${no_proxy} -t mysql/mysql-operator:8.0 . From ae325258dc918fcd8be9a7c884da4a8c636dd675 Mon Sep 17 00:00:00 2001 From: Simon J Mudd Date: Sun, 9 Jan 2022 21:39:45 +0100 Subject: [PATCH 2/2] Fix other shell scripts with the same issue --- gen_dockerfile.sh | 4 ++-- tag.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gen_dockerfile.sh b/gen_dockerfile.sh index 6d25834..0016e47 100755 --- a/gen_dockerfile.sh +++ b/gen_dockerfile.sh @@ -1,10 +1,10 @@ +#!/bin/bash +# # Copyright (c) 2021, Oracle and/or its affiliates. # # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/ # -#!/bin/bash - MYSQL_REPO_URL="http://repo.mysql.com" MYSQL_OPERATOR_PYTHON_DEPS="mysql-operator-python-deps" MYSQL_OPERATOR_PYTHON_DEPS_VERSION="3.9.5" diff --git a/tag.sh b/tag.sh index 30bc147..9922ed2 100755 --- a/tag.sh +++ b/tag.sh @@ -1,8 +1,8 @@ +#!/bin/bash +# # Copyright (c) 2021, Oracle and/or its affiliates. # # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/ # -#!/bin/bash - echo "8.0.26-2.0.2"