@@ -49,7 +49,7 @@ if [ "${1}x" == "x" ] || [ "${1}" == "--help" ] || [ "${1}" == "-h" ]; then
49
49
echo " DOCKERFILE The name of Dockerfile to use."
50
50
echo " Default: Dockerfile"
51
51
echo " DOCKER_FROM The base image to use."
52
- echo " Default: 'alpine:3.13 '"
52
+ echo " Default: 'alpine:3.14 '"
53
53
echo " DOCKER_TARGET A specific target to build."
54
54
echo " It's currently not possible to pass multiple targets."
55
55
echo " Default: main ldap"
@@ -125,7 +125,7 @@ if [ "${2}" != "--push-only" ] && [ -z "${SKIP_GIT}" ]; then
125
125
126
126
(
127
127
$DRY cd " ${NETBOX_PATH} "
128
-
128
+ # shellcheck disable=SC2030
129
129
if [ -n " ${HTTP_PROXY} " ]; then
130
130
git config http.proxy " ${HTTP_PROXY} "
131
131
fi
157
157
# Determining the value for DOCKER_FROM
158
158
# ##
159
159
if [ -z " $DOCKER_FROM " ]; then
160
- DOCKER_FROM=" alpine:3.13 "
160
+ DOCKER_FROM=" alpine:3.14 "
161
161
fi
162
162
163
163
# ##
@@ -345,6 +345,7 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do
345
345
if [ -n " ${DOCKER_FROM} " ]; then
346
346
DOCKER_BUILD_ARGS+=(--build-arg " FROM=${DOCKER_FROM} " )
347
347
fi
348
+ # shellcheck disable=SC2031
348
349
if [ -n " ${HTTP_PROXY} " ]; then
349
350
DOCKER_BUILD_ARGS+=(--build-arg " http_proxy=${HTTP_PROXY} " )
350
351
DOCKER_BUILD_ARGS+=(--build-arg " https_proxy=${HTTPS_PROXY} " )
0 commit comments