Skip to content

Commit

Permalink
Optimize Dockerfile. (apache#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
druidliu authored and qunzhong committed Aug 27, 2022
1 parent 449f85e commit e70e649
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/pulsar/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ FROM ubuntu:20.04
ARG DEBIAN_FRONTEND=noninteractive

# Install some utilities
RUN apt-get update \
RUN sed -i s@/archive.ubuntu.com/@/mirrors.tencent.com/@g /etc/apt/sources.list \
&& sed -i s@/security.ubuntu.com/@/mirrors.tencent.com/@g /etc/apt/sources.list \
&& apt-get clean all \
&& apt-get update \
&& apt-get -y dist-upgrade \
&& apt-get -y install openjdk-11-jdk-headless netcat dnsutils less procps iputils-ping \
python3 python3-dev python3-setuptools python3-kazoo \
Expand Down

0 comments on commit e70e649

Please sign in to comment.