Skip to content

Commit

Permalink
Upgrade NodeJs in Pulsar Build image (used by WebSite Builder) (apach…
Browse files Browse the repository at this point in the history
…e#10591)

The website builder CI job uses Node JS but it fails because now it requires a more recent version of Node.

We also have to change the PIP 2.7 download script
  • Loading branch information
eolivelli authored May 17, 2021
1 parent 4a6a006 commit 377dac1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ ENV PATH "$PATH:/usr/local/rvm/bin"
RUN rvm install 2.4.1

# Install nodejs and yarn
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get install -y nodejs
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
Expand All @@ -67,7 +67,7 @@ RUN wget https://artifacts.crowdin.com/repo/deb/crowdin.deb -O crowdin.deb
RUN dpkg -i crowdin.deb

# Install PIP and PDoc
RUN wget https://bootstrap.pypa.io/2.7/get-pip.py && python get-pip.py && rm get-pip.py
RUN wget https://bootstrap.pypa.io/pip/2.7/get-pip.py && python get-pip.py && rm get-pip.py
RUN pip3 install pdoc

# Install Protobuf doc generator (requires Go)
Expand Down

0 comments on commit 377dac1

Please sign in to comment.