Skip to content

Commit

Permalink
bump all images, python 3.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
austinorr committed Dec 21, 2022
1 parent e0a2684 commit e3fcfb7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions nereid/Dockerfile.multi
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@
# time to build and is considerably more complex for scipy and pandas.


FROM python:3.9-bullseye as nereid_install
FROM python:3.11-bullseye as nereid_install
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends graphviz \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /nereid
CMD ["bash", "-c", "while true; do sleep 1; done"]


FROM redis:6.2.6-alpine3.15 as redis
FROM redis:6.2.8-alpine3.17 as redis
COPY redis.conf /redis.conf
CMD ["redis-server", "/redis.conf"]


FROM python:3.9-alpine3.15 as flower
FROM python:3.11-alpine3.17 as flower
RUN apk add --no-cache ca-certificates tzdata && update-ca-certificates
RUN pip install --no-cache-dir redis==4.1.0 flower==1.0.0 celery==5.2.3
ENV PYTHONUNBUFFERED=1 PYTHONHASHSEED=random PYTHONDONTWRITEBYTECODE=1
Expand All @@ -39,7 +39,7 @@ EXPOSE 5555
CMD ["celery", "flower"]


FROM python:3.9.9-bullseye as builder
FROM python:3.11.1-bullseye as builder
COPY requirements.txt /requirements.txt
COPY requirements_tests.txt /requirements_tests.txt
COPY requirements_server.txt /requirements_server.txt
Expand All @@ -57,7 +57,7 @@ RUN mkdir /serve && \
-r /requirements_server.txt


FROM python:3.9.9-slim-bullseye as core-runtime
FROM python:3.11.1-slim-bullseye as core-runtime
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends graphviz \
&& rm -rf /var/lib/apt/lists/*
Expand All @@ -66,7 +66,7 @@ ENV PYTHONPATH=/nereid
ENV PATH=/opt/venv/bin:$PATH


FROM python:3.9.9-slim-bullseye as core-env
FROM python:3.11.1-slim-bullseye as core-env
COPY --from=builder /core /core
COPY requirements.txt /requirements.txt
RUN python -m venv /opt/venv
Expand Down

0 comments on commit e3fcfb7

Please sign in to comment.