Skip to content

Commit

Permalink
Remove not needed libs on the image (musllinux) (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli authored Jun 28, 2022
1 parent cb915cb commit e926373
Showing 1 changed file with 6 additions and 31 deletions.
37 changes: 6 additions & 31 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,6 @@ ARG \
# Add Home Assistant wheels repository
ENV WHEELS_LINKS=https://wheels.home-assistant.io/musllinux/

####
# Install core
RUN \
apk add --no-cache \
bsd-compat-headers \
eudev \
eudev-libs \
grep \
libc6-compat \
libffi \
libjpeg \
libjpeg-turbo \
libpng \
musl \
pulseaudio-alsa \
tiff \
&& ln -s /usr/include/locale.h /usr/include/xlocale.h

##
# Install component packages
RUN \
Expand All @@ -39,28 +21,21 @@ RUN \
bluez-deprecated \
bluez-libs \
curl \
eudev-libs \
ffmpeg \
iperf3 \
git \
glib \
gmp \
libexecinfo \
grep \
libgpiod \
libpcap \
libsodium \
libwebp \
libxml2 \
libxslt \
libjpeg-turbo \
libpulse \
libzbar \
mpc1 \
mpfr4 \
net-tools \
nmap \
openssh-client \
pianobar \
pulseaudio-utils \
socat \
zlib
pulseaudio-alsa \
socat

####
## Install pip module for component/homeassistant
Expand Down

3 comments on commit e926373

@manu3b1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Pascal,

libc6-compat is needed by one of my "command_line" sensor.
Could we get it back?
(setting LD_LIBRARY_PATH did not help).

Thx.

@frenck
Copy link
Member

@frenck frenck commented on e926373 Jul 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@manu3b1 We currently have no plans on adding packages that Home Assistant Core itself doesn't use.

@manu3b1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough.
Thx.

Please sign in to comment.