Skip to content

Commit 363bb67

Browse files
chore: remove unused tools (npm, svgexport, inkscape, sass, graphviz, composer) from Dockerfile and README
Agent-Logs-Url: https://github.com/nextcloud/documentation/sessions/c055f933-b119-4091-8fc3-e8d073877872 Co-authored-by: nextcloud-command <88102737+nextcloud-command@users.noreply.github.com>
1 parent e4f0ba7 commit 363bb67

2 files changed

Lines changed: 3 additions & 20 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,10 @@ RUN export DEBIAN_FRONTEND=noninteractive \
1111
&& apt-get update \
1212
&& apt-get -y install --no-install-recommends \
1313
ca-certificates curl gnupg2 git lsb-release nano make \
14-
graphviz imagemagick inkscape sass unzip wget \
15-
php-cli npm \
14+
unzip wget \
1615
latexmk texlive-fonts-extra texlive-fonts-extra-links texlive-fonts-recommended \
1716
texlive-latex-extra texlive-latex-recommended tex-gyre texlive-xetex xindy \
1817
&& mktexlsr \
19-
&& wget https://getcomposer.org/installer -qO /tmp/composer-setup.php \
20-
&& php /tmp/composer-setup.php \
21-
&& mv composer.phar /usr/local/bin/composer \
22-
&& npm install svgexport -g \
23-
&& rm -f /tmp/composer-setup.php \
2418
&& rm -rf /var/lib/apt/lists/*
2519

2620
# Allow pip to install packages system-wide inside the container when running

README.rst

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,8 @@ Nightly Automated Build Steps
123123
2. ``cd documentation``
124124
3. ``git checkout <branch name>``
125125
2. **Install**
126-
1. ``npm install svgexport -g --unsafe-perm=true``
127-
2. ``pip3 install -r requirements.txt``
128-
3. ``make all``
126+
1. ``pip3 install -r requirements.txt``
127+
2. ``make all``
129128

130129

131130
Building HTML
@@ -215,15 +214,5 @@ documentation, ``make html`` to build the HTML documentation or ``make pdf`` to
215214
``make SPHINXBUILD=sphinx-autobuild html`` in combination with `port forwarding <https://code.visualstudio.com/docs/devcontainers/containers#_forwarding-or-publishing-a-port>`_
216215
to watch file changes and automatically reload the html preview.
217216

218-
Icons
219-
-----
220-
221-
To compile and update the icons list in the designer manual, you will also need
222-
223-
1. inkscape
224-
2. sass
225-
3. unzip
226-
4. wget
227-
228217
.. _CC BY 3.0: https://creativecommons.org/licenses/by/3.0/deed.en_US
229218
.. _`Xcode command line tools`: https://stackoverflow.com/questions/9329243/xcode-install-command-line-tools

0 commit comments

Comments
 (0)