Install python2 in the Dockerfile.

Without it, we get a build failure (inside the container) when trying to build
//runsc.

PiperOrigin-RevId: 286474518
This commit is contained in:
Brad Burlage 2019-12-19 15:24:15 -08:00 committed by gVisor bot
parent bb00438f36
commit 80c8aecd51
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
FROM ubuntu:bionic FROM ubuntu:bionic
RUN apt-get update && apt-get install -y curl gnupg2 git python3 python3-distutils python3-pip RUN apt-get update && apt-get install -y curl gnupg2 git python python3 python3-distutils python3-pip
RUN echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list && \ RUN echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list && \
curl https://bazel.build/bazel-release.pub.gpg | apt-key add - curl https://bazel.build/bazel-release.pub.gpg | apt-key add -
RUN apt-get update && apt-get install -y bazel && apt-get clean RUN apt-get update && apt-get install -y bazel && apt-get clean