Skip to content

Commit

Permalink
Retain build-essential and python3-dev in the step image. (#2868)
Browse files Browse the repository at this point in the history
  • Loading branch information
brightcoder01 authored Aug 28, 2020
1 parent a181bcb commit 0ac724a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/step/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN /bin/bash -c 'if [ "$FIND_FASTED_MIRROR" == "true" ]; then source find_faste
&& echo "Choose the fastest PIP source ..." \
&& choose_fastest_pip_source; fi' && \
apt-get update && \
apt-get -qq install -y --no-install-recommends openjdk-8-jre-headless python3 libmysqlclient20 python3-idna libgomp1 python3-setuptools python3-pip && \
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 && \
ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime && \
apt-get install -y tzdata > /dev/null && \
dpkg-reconfigure --frontend noninteractive tzdata && \
Expand All @@ -30,7 +30,7 @@ WORKDIR /install
ENV PATH="${PATH}:/install/bin"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get -qq install -y wget unzip build-essential libmysqlclient-dev python3-dev && \
apt-get -qq install -y wget unzip libmysqlclient-dev && \
wget -q http://docs-aliyun.cn-hangzhou.oss.aliyun-inc.com/assets/attach/119096/cn_zh/1557995455961/odpscmd_public.zip && \
mkdir -p /install/local/odpscmd && \
unzip -qq odpscmd_public.zip -d /install/local/odpscmd && \
Expand Down

0 comments on commit 0ac724a

Please sign in to comment.