remove uneeded dependencies

This commit is contained in:
Nick Sweeting 2020-08-14 00:14:18 -04:00
parent c37b58f100
commit abfce2a210

View file

@ -39,10 +39,17 @@ RUN groupadd --system $ARCHIVEBOX_USER \
# Install system dependencies # Install system dependencies
RUN apt-get update -qq \ RUN apt-get update -qq \
&& apt-get install -qq -y --no-install-recommends \ && apt-get install -qq -y --no-install-recommends \
apt-transport-https ca-certificates apt-utils gnupg gnupg2 libgconf-2-4 zlib1g-dev \ apt-transport-https ca-certificates gnupg2 zlib1g-dev \
dumb-init gosu unzip curl \ dumb-init gosu unzip curl \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install apt dependencies
RUN apt-get update -qq \
&& apt-get install -qq -y --no-install-recommends \
wget curl chromium git ffmpeg youtube-dl \
fontconfig fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-symbola fonts-noto fonts-freefont-ttf \
&& rm -rf /var/lib/apt/lists/*
# Install Node environment # Install Node environment
RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \ RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - \
&& echo 'deb https://deb.nodesource.com/node_14.x buster main' >> /etc/apt/sources.list \ && echo 'deb https://deb.nodesource.com/node_14.x buster main' >> /etc/apt/sources.list \
@ -51,13 +58,6 @@ RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
nodejs \ nodejs \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install apt dependencies
RUN apt-get update -qq \
&& apt-get install -qq -y --no-install-recommends \
wget curl chromium git ffmpeg youtube-dl \
fontconfig fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-symbola fonts-noto fonts-freefont-ttf \
&& rm -rf /var/lib/apt/lists/*
# Install Python dependencies # Install Python dependencies
WORKDIR "$CODE_DIR" WORKDIR "$CODE_DIR"
ENV PATH="${PATH}:$VENV_PATH/bin" ENV PATH="${PATH}:$VENV_PATH/bin"