Skip to content

Commit

Permalink
Bump base image versions in Dockerfile
Browse files Browse the repository at this point in the history
Recently, building the container images started to fail:
https://github.com/unioslo/mreg/actions/runs/8784288442/job/24102213934

This can be fixed by using newer versions of the base images.
  • Loading branch information
oyvindhagberg committed Apr 22, 2024
1 parent f927cdb commit d45d257
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build stage
FROM python:3.10-alpine as builder
FROM python:3.11-alpine as builder
WORKDIR /usr/src/mreg
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
Expand All @@ -11,7 +11,7 @@ COPY requirements*.txt ./
RUN pip wheel --no-cache-dir --wheel-dir /usr/src/mreg/wheels -r requirements.txt

# final stage
FROM alpine:3.17
FROM alpine:3.18
EXPOSE 8000

COPY requirements*.txt entrypoint* manage.py /app/
Expand Down

0 comments on commit d45d257

Please sign in to comment.