Generate a zip file of offline docs and a Dash/Zeal docset. (#24244)
This generates a zip file containing all of the docs, and uploads it when we publish docs, as well as a Dash/Zeal docset that contains a feed of the docs. Addresses at least part of #9955
This commit is contained in:
@@ -21,6 +21,7 @@ RUN apt-get install -y --no-install-recommends \
|
||||
git \
|
||||
wget \
|
||||
curl \
|
||||
zip \
|
||||
unzip \
|
||||
ca-certificates \
|
||||
gnupg
|
||||
@@ -34,6 +35,7 @@ RUN bash "${NODEJS_INSTALL}/nodejs_install.sh"
|
||||
# Install the rest of the dependencies.
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
locales \
|
||||
golang \
|
||||
ruby \
|
||||
ruby-dev \
|
||||
nodejs \
|
||||
@@ -82,13 +84,22 @@ ENV PATH="$GRADLE_ROOT/bin:$PATH"
|
||||
ENV PATH="/usr/bin:${PATH}"
|
||||
RUN dpkg-query -L nodejs
|
||||
# Install Firebase
|
||||
RUN /usr/bin/npm install -g git://github.com/firebase/firebase-tools.git
|
||||
# This is why we need nodejs installed.
|
||||
RUN /usr/bin/npm --verbose install -g firebase-tools
|
||||
|
||||
# Install dashing
|
||||
# This is why we need golang installed.
|
||||
RUN mkdir -p /opt/gopath/bin
|
||||
ENV GOPATH=/opt/gopath
|
||||
ENV PATH="${GOPATH}/bin:${PATH}"
|
||||
RUN go get -u github.com/technosophos/dashing
|
||||
|
||||
# Set locale to en_US
|
||||
RUN locale-gen en_US "en_US.UTF-8" && dpkg-reconfigure locales
|
||||
ENV LANG en_US.UTF-8
|
||||
|
||||
# Install coveralls and Firebase
|
||||
# This is why we need ruby installed.
|
||||
RUN gem install coveralls
|
||||
RUN gem install bundler
|
||||
|
||||
|
||||
Reference in New Issue
Block a user