Skip to content

Commit

Permalink
Updated docker images to use python3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
valearna committed Sep 26, 2024
1 parent 797901b commit f01fd4c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/automated_scripts.dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM ubuntu:20.04
FROM python:3.11-bookworm
# Set timezone:
ENV TZ=UTC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update && apt-get install -y cron git python3-pip
RUN apt-get update && apt-get install -y cron git
WORKDIR /usr/src/app/
RUN mkdir -p /usr/app/agr_literature_service
ADD ./agr_literature_service /usr/src/app/agr_literature_service
Expand Down
2 changes: 1 addition & 1 deletion docker/dev-app.dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG REG=agrdocker
ARG ALLIANCE_RELEASE=latest

FROM ubuntu:20.04
FROM python:3.11-bookworm

WORKDIR /usr/local/bin/src/literature
RUN mkdir -p /usr/local/bin/src/literature/agr_literature_service
Expand Down
2 changes: 1 addition & 1 deletion docker/xml_processing.dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG REG=agrdocker
ARG ALLIANCE_RELEASE=latest

FROM python:3.8-alpine3.16
FROM python:3.11-alpine3.20

RUN apk update && apk add --no-cache git gcc musl-dev postgresql-dev libffi-dev

Expand Down

0 comments on commit f01fd4c

Please sign in to comment.