Skip to content

Commit b2ee468

Browse files
committed
Alpine update to 3.14
1 parent 17b1a50 commit b2ee468

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN apk add --no-cache \
1111
jpeg-dev \
1212
libevent-dev \
1313
libffi-dev \
14-
libressl-dev \
14+
openssl-dev \
1515
libxslt-dev \
1616
musl-dev \
1717
openldap-dev \
@@ -45,7 +45,7 @@ RUN apk add --no-cache \
4545
libevent \
4646
libffi \
4747
libjpeg-turbo \
48-
libressl \
48+
openssl \
4949
libxslt \
5050
postgresql-libs \
5151
python3 \

build.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ if [ "${1}x" == "x" ] || [ "${1}" == "--help" ] || [ "${1}" == "-h" ]; then
4949
echo " DOCKERFILE The name of Dockerfile to use."
5050
echo " Default: Dockerfile"
5151
echo " DOCKER_FROM The base image to use."
52-
echo " Default: 'alpine:3.13'"
52+
echo " Default: 'alpine:3.14'"
5353
echo " DOCKER_TARGET A specific target to build."
5454
echo " It's currently not possible to pass multiple targets."
5555
echo " Default: main ldap"
@@ -125,7 +125,7 @@ if [ "${2}" != "--push-only" ] && [ -z "${SKIP_GIT}" ]; then
125125

126126
(
127127
$DRY cd "${NETBOX_PATH}"
128-
128+
# shellcheck disable=SC2030
129129
if [ -n "${HTTP_PROXY}" ]; then
130130
git config http.proxy "${HTTP_PROXY}"
131131
fi
@@ -157,7 +157,7 @@ fi
157157
# Determining the value for DOCKER_FROM
158158
###
159159
if [ -z "$DOCKER_FROM" ]; then
160-
DOCKER_FROM="alpine:3.13"
160+
DOCKER_FROM="alpine:3.14"
161161
fi
162162

163163
###
@@ -345,6 +345,7 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do
345345
if [ -n "${DOCKER_FROM}" ]; then
346346
DOCKER_BUILD_ARGS+=(--build-arg "FROM=${DOCKER_FROM}")
347347
fi
348+
# shellcheck disable=SC2031
348349
if [ -n "${HTTP_PROXY}" ]; then
349350
DOCKER_BUILD_ARGS+=(--build-arg "http_proxy=${HTTP_PROXY}")
350351
DOCKER_BUILD_ARGS+=(--build-arg "https_proxy=${HTTPS_PROXY}")

0 commit comments

Comments
 (0)