Skip to content

Commit a68f315

Browse files
committed
Move default source image to Python 3.8
1 parent dd49060 commit a68f315

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/push.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ jobs:
1818
- ./build-next.sh
1919
- ./build.sh develop
2020
docker_from:
21-
- '' # use the default of the DOCKERFILE
22-
- python:3.7-alpine
21+
- '' # use the default of the build script
2322
- python:3.8-alpine
2423
# - python:3.9-rc-alpine # disable until Netbox's unit tests work
2524
fail-fast: false

build.sh

Lines changed: 2 additions & 2 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: 'python:3.7-alpine'"
52+
echo " Default: 'python:3.8-alpine'"
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"
@@ -157,7 +157,7 @@ fi
157157
# Determining the value for DOCKER_FROM
158158
###
159159
if [ -z "$DOCKER_FROM" ]; then
160-
DOCKER_FROM="python:3.7-alpine"
160+
DOCKER_FROM="python:3.8-alpine"
161161
fi
162162

163163
###

0 commit comments

Comments
 (0)