Skip to content

Commit

Permalink
fix(ci): update the base docker image to python 3.12 and get the buil…
Browse files Browse the repository at this point in the history
…d working
  • Loading branch information
diranged committed Oct 21, 2024
1 parent 7a03cf4 commit f56886c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
FROM python:3.7-bullseye
FROM python:3.12-alpine3.19

# Env var to force update of the image. Increment for each time this is needed
ENV CACHE_BUSTER_VAR=1

RUN apt-get update && \
apt-get install -y nginx jq && \
apt-get autoclean && \
rm -rf /var/lib/apt/cache
RUN apk add nginx jq openssl libpq-dev build-base

# Generate SSL certs.
RUN mkdir -p /app/ssl && cd /app/ssl && \
Expand Down
4 changes: 2 additions & 2 deletions resources/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ idna==2.6
itsdangerous==0.24
Jinja2==2.11.3
jmespath==0.9.3
MarkupSafe==1.0
MarkupSafe==1.1.1
oauth2client==4.1.2
psycopg2==2.7.3.1
psycopg2==2.9.10
pyasn1==0.3.4
pyasn1-modules==0.1.4
pyparsing==2.4.7
Expand Down

0 comments on commit f56886c

Please sign in to comment.