Skip to content

Commit b33a509

Browse files
authored
Merge pull request #333 from tobiasge/python-3.8
Move default source image to Python 3.8
2 parents 79f0b99 + 32cef1d commit b33a509

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ 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
24-
# - python:3.9-rc-alpine # disable until Netbox's unit tests work
23+
- python:3.9-rc-alpine
2524
fail-fast: false
2625
runs-on: ubuntu-latest
2726
name: Builds new Netbox Docker Images

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)