Skip to content

Commit

Permalink
chore(deps): update ubuntu docker tag to v22 (#5408)
Browse files Browse the repository at this point in the history
* chore(deps): update ubuntu docker tag to v24

* Use jammy

* Use the correct python version from jammy

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bartek Szopka <[email protected]>
  • Loading branch information
renovate[bot] and bartaz authored Nov 6, 2024
1 parent f319adf commit 1a191f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# Build stage: Install python dependencies
# ===
FROM ubuntu:focal AS python-dependencies
FROM ubuntu:jammy AS python-dependencies
RUN apt-get update && apt-get install --no-install-recommends --yes python3-pip python3-setuptools
ADD requirements.txt /tmp/requirements.txt
RUN pip3 config set global.disable-pip-version-check true
Expand Down Expand Up @@ -31,15 +31,15 @@ RUN yarn run build

# Build the production image
# ===
FROM ubuntu:focal
FROM ubuntu:jammy

# Set up environment
ENV LANG C.UTF-8
WORKDIR /srv

# Install python and import python dependencies
RUN apt-get update && apt-get install --no-install-recommends --yes python3-setuptools python3-lib2to3 python3-pkg-resources
COPY --from=python-dependencies /root/.local/lib/python3.8/site-packages /root/.local/lib/python3.8/site-packages
COPY --from=python-dependencies /root/.local/lib/python3.10/site-packages /root/.local/lib/python3.10/site-packages
COPY --from=python-dependencies /root/.local/bin /root/.local/bin
ENV PATH="/root/.local/bin:${PATH}"

Expand Down

0 comments on commit 1a191f0

Please sign in to comment.