Skip to content

Commit 0ac724a

Browse files
Retain build-essential and python3-dev in the step image. (#2868)
1 parent a181bcb commit 0ac724a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/step/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN /bin/bash -c 'if [ "$FIND_FASTED_MIRROR" == "true" ]; then source find_faste
1313
&& echo "Choose the fastest PIP source ..." \
1414
&& choose_fastest_pip_source; fi' && \
1515
apt-get update && \
16-
apt-get -qq install -y --no-install-recommends openjdk-8-jre-headless python3 libmysqlclient20 python3-idna libgomp1 python3-setuptools python3-pip && \
16+
apt-get -qq install -y --no-install-recommends openjdk-8-jre-headless python3 libmysqlclient20 python3-idna libgomp1 python3-setuptools python3-pip build-essential python3-dev && \
1717
ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime && \
1818
apt-get install -y tzdata > /dev/null && \
1919
dpkg-reconfigure --frontend noninteractive tzdata && \
@@ -30,7 +30,7 @@ WORKDIR /install
3030
ENV PATH="${PATH}:/install/bin"
3131
ENV DEBIAN_FRONTEND=noninteractive
3232
RUN apt-get update && \
33-
apt-get -qq install -y wget unzip build-essential libmysqlclient-dev python3-dev && \
33+
apt-get -qq install -y wget unzip libmysqlclient-dev && \
3434
wget -q http://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/attach/119096/cn_zh/1557995455961/odpscmd_public.zip && \
3535
mkdir -p /install/local/odpscmd && \
3636
unzip -qq odpscmd_public.zip -d /install/local/odpscmd && \

0 commit comments

Comments
 (0)