Skip to content

Commit

Permalink
Remove python installation from downstream-builder (GoogleCloudPlatfo…
Browse files Browse the repository at this point in the history
  • Loading branch information
rileykarson authored and kimihrr committed Apr 4, 2023
1 parent 7c8db25 commit 743a08b
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .ci/containers/downstream-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,8 @@ RUN apt-get install -y git build-essential libbz2-dev libssl-dev libreadline-dev
libffi-dev libsqlite3-dev tk-dev libpng-dev libfreetype6-dev \
make build-essential libssl-dev zlib1g-dev libbz2-dev \
libreadline-dev libsqlite3-dev curl llvm libncurses5-dev libncursesw5-dev \
xz-utils tk-dev libffi-dev liblzma-dev python-openssl jq

RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
ENV PATH="/root/.pyenv/bin:${PATH}"
RUN eval "$(pyenv init -)"
RUN eval "$(pyenv virtualenv-init -)"
RUN pyenv install 3.6.8
RUN pyenv install 2.7.13
RUN pyenv rehash
ENV PATH="/root/.pyenv/shims:${PATH}"
RUN pyenv global 2.7.13 3.6.8
RUN pip install beautifulsoup4 mistune
RUN pip3 install black
xz-utils tk-dev libffi-dev liblzma-dev jq

ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8

Expand Down

0 comments on commit 743a08b

Please sign in to comment.