Skip to content

Commit

Permalink
Merge pull request #474 from ropable/master
Browse files Browse the repository at this point in the history
Change Dockerfile base image version to support MS ODBC driver install
  • Loading branch information
ropable authored Aug 11, 2023
2 parents 5803ca9 + bc1ab1e commit 1f73297
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Prepare the base environment.
FROM python:3.10.12-slim-bookworm as builder_base_wastd
FROM python:3.10.12-slim-bullseye as builder_base_wastd
# NOTE: we're constrained to using the version(s) of Debian which the Microsoft ODBC driver supports.
MAINTAINER asi@dbca.wa.gov.au
LABEL org.opencontainers.image.source https://github.com/dbca-wa/wastd

Expand Down
3 changes: 3 additions & 0 deletions wastd/middleware.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from django.http import HttpResponse, HttpResponseServerError
import logging

LOGGER = logging.getLogger('turtles')


class HealthCheckMiddleware(object):
Expand Down

0 comments on commit 1f73297

Please sign in to comment.