Skip to content

Commit dd785d2

Browse files
authored
Move build-base to build deps
1 parent c315cef commit dd785d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ ENV LOCAL_RESOURCES 6144,1.0,1.0 # RAM, CPU, IO, building TF is resource-heav
1111
ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk
1212

1313
RUN apk upgrade --update \
14-
&& apk add --no-cache python3 py3-numpy py3-numpy-f2py libpng libjpeg-turbo build-base \
14+
&& apk add --no-cache python3 py3-numpy py3-numpy-f2py libpng libjpeg-turbo \
1515
&& rm -rf /usr/bin/python \
1616
&& ln -s /usr/bin/python3 /usr/bin/python \
1717
&& pip3 install -U --no-cache-dir pip setuptools wheel \
1818
&& : install tools needed during the build process \
19-
&& apk add --no-cache --virtual=.build-deps curl bash openjdk8 gcc g++ linux-headers zip musl-dev patch python3-dev py-numpy-dev \
19+
&& apk add --no-cache --virtual=.build-deps curl bash openjdk8 build-base gcc g++ linux-headers zip musl-dev patch python3-dev py-numpy-dev \
2020
&& : download and build bazel \
2121
&& cd /tmp \
2222
&& curl -SLO https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-dist.zip \

0 commit comments

Comments
 (0)