Skip to content

Commit

Permalink
update python3.12 installation in dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Runji Wang <[email protected]>
  • Loading branch information
wangrunji0408 committed May 15, 2024
1 parent 113ede9 commit 61f5e88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
8 changes: 1 addition & 7 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@ FROM ubuntu:24.04 AS base
ENV LANG en_US.utf8

RUN apt-get update \
&& apt-get -y install ca-certificates build-essential libsasl2-dev openjdk-11-jdk software-properties-common

# Install Python 3.12
RUN add-apt-repository ppa:deadsnakes/ppa -y && \
apt-get update -yy && \
DEBIAN_FRONTEND=noninteractive apt-get install python3.12 python3.12-dev -yy
ENV PYO3_PYTHON=python3.12
&& apt-get -y install ca-certificates build-essential libsasl2-dev openjdk-11-jdk software-properties-common python3.12 python3.12-dev

FROM base AS rust-base

Expand Down
9 changes: 1 addition & 8 deletions docker/Dockerfile.hdfs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,7 @@ FROM ubuntu:24.04 AS base
ENV LANG en_US.utf8

RUN apt-get update \
&& apt-get -y install ca-certificates build-essential libsasl2-dev openjdk-11-jdk software-properties-common

# Install Python 3.12
RUN add-apt-repository ppa:deadsnakes/ppa -y && \
apt-get update -yy && \
DEBIAN_FRONTEND=noninteractive apt-get install python3.12 python3.12-dev -yy
ENV PYO3_PYTHON=python3.12

&& apt-get -y install ca-certificates build-essential libsasl2-dev openjdk-11-jdk software-properties-common python3.12 python3.12-dev

FROM base AS dashboard-builder

Expand Down

0 comments on commit 61f5e88

Please sign in to comment.