Skip to content

Commit

Permalink
Merge pull request #1000 from arc53/feat/upgrade-ubuntu-docker
Browse files Browse the repository at this point in the history
upgrade docker to 24.04
  • Loading branch information
dartpain authored Jun 19, 2024
2 parents c80678a + e5c30cf commit c63d4cc
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions application/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# Builder Stage
FROM ubuntu:mantic as builder
FROM ubuntu:24.04 as builder

ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
apt-get install -y software-properties-common

RUN add-apt-repository ppa:deadsnakes/ppa

# Install necessary packages and Python
RUN apt-get update && \
apt-get install -y --no-install-recommends gcc curl wget unzip libc6-dev python3.11 python3-pip python3.11-venv && \
apt-get install -y --no-install-recommends gcc curl wget unzip libc6-dev python3.11 python3.11-distutils python3.11-venv && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -42,7 +47,12 @@ RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt

# Final Stage
FROM ubuntu:mantic as final
FROM ubuntu:24.04 as final

RUN apt-get update && \
apt-get install -y software-properties-common

RUN add-apt-repository ppa:deadsnakes/ppa

# Install Python
RUN apt-get update && apt-get install -y --no-install-recommends python3.11 && \
Expand Down

0 comments on commit c63d4cc

Please sign in to comment.