mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-04-03 19:00:42 +02:00
Removed no longer needed packages
removed 9 MB from the image size
This commit is contained in:
parent
9bb52f3d47
commit
ca9bc8464d
@ -13,15 +13,14 @@
|
|||||||
FROM debian:sid-slim
|
FROM debian:sid-slim
|
||||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install --no-install-recommends --yes \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
dirmngr \
|
dirmngr \
|
||||||
gnupg \
|
gnupg \
|
||||||
--no-install-recommends \
|
|
||||||
&& curl -sS https://download.spotify.com/debian/pubkey_7A3A762FAFD4A51F.gpg | gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg \
|
&& curl -sS https://download.spotify.com/debian/pubkey_7A3A762FAFD4A51F.gpg | gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg \
|
||||||
&& echo "deb http://repository.spotify.com stable non-free" >> /etc/apt/sources.list.d/spotify.list \
|
&& echo "deb http://repository.spotify.com stable non-free" >> /etc/apt/sources.list.d/spotify.list \
|
||||||
&& apt-get update && apt-get install -y \
|
&& apt-get update && apt-get install --no-install-recommends --yes \
|
||||||
alsa-utils \
|
alsa-utils \
|
||||||
libgl1-mesa-dri \
|
libgl1-mesa-dri \
|
||||||
libgl1-mesa-glx \
|
libgl1-mesa-glx \
|
||||||
@ -31,7 +30,12 @@ RUN apt-get update && apt-get install -y \
|
|||||||
xdg-utils \
|
xdg-utils \
|
||||||
fonts-droid-fallback \
|
fonts-droid-fallback \
|
||||||
libcanberra-gtk3-module \
|
libcanberra-gtk3-module \
|
||||||
--no-install-recommends \
|
&& apt-get remove --yes \
|
||||||
|
ca-certificates \
|
||||||
|
curl \
|
||||||
|
dirmngr \
|
||||||
|
gnupg \
|
||||||
|
&& apt-get autoremove --yes \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
ENV HOME /home/spotify
|
ENV HOME /home/spotify
|
||||||
|
Loading…
x
Reference in New Issue
Block a user