Witch to python 2.7 and install beam for the gcp image. (#876)

This commit is contained in:
hongye-sun 2019-02-28 11:29:18 -08:00 committed by Kubernetes Prow Robot
parent a791197baa
commit 926c321199
1 changed files with 7 additions and 1 deletions

View File

@ -12,7 +12,13 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
FROM python:3.6 FROM python:2.7-slim-jessie
RUN apt-get update && apt-get install -y --no-install-recommends \
wget \
&& rm -rf /var/lib/apt/lists/*
RUN pip2 install apache-beam[gcp]==2.10.0
ADD build /ml ADD build /ml
WORKDIR /ml WORKDIR /ml