Skip to content

Commit

Permalink
fix: fix DockerFile (#16021)
Browse files Browse the repository at this point in the history
  • Loading branch information
hzxa21 authored Mar 29, 2024
1 parent 2c869b4 commit 756d82b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ FROM ubuntu:22.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
&& apt-get -y install ca-certificates build-essential libsasl2-dev openjdk-11-jdk software-properties-common

# Install Python 3.12
RUN apt-get -y install software-properties-common
RUN add-apt-repository ppa:deadsnakes/ppa -y && \
apt-get update -yy && \
DEBIAN_FRONTEND=noninteractive apt-get install python3.12 python3.12-dev -yy
Expand Down
3 changes: 1 addition & 2 deletions docker/Dockerfile.hdfs
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ FROM ubuntu:22.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
&& apt-get -y install ca-certificates build-essential libsasl2-dev openjdk-11-jdk software-properties-common

# Install Python 3.12
RUN apt-get -y install software-properties-common
RUN add-apt-repository ppa:deadsnakes/ppa -y && \
apt-get update -yy && \
DEBIAN_FRONTEND=noninteractive apt-get install python3.12 python3.12-dev -yy
Expand Down

0 comments on commit 756d82b

Please sign in to comment.