mirror of
https://github.com/hassio-addons/addon-airsonos.git
synced 2025-05-05 03:21:32 +00:00
👕 Fixes hadolint warnings
This commit is contained in:
parent
2013ddd7dc
commit
40efe8c75a
1 changed files with 8 additions and 5 deletions
|
@ -1,4 +1,5 @@
|
|||
ARG BUILD_FROM=hassioaddons/debian-base-amd64:1.0.0
|
||||
# hadolint ignore=DL3006
|
||||
FROM ${BUILD_FROM}
|
||||
|
||||
# Setup base system
|
||||
|
@ -7,18 +8,20 @@ RUN \
|
|||
\
|
||||
&& apt-get update \
|
||||
\
|
||||
&& apt-get install -y --no-install-recommends libssl1.0.0 \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
libssl1.0.0=1.0.1t-1+deb8u8 \
|
||||
\
|
||||
&& rm -f -r \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/*
|
||||
&& rm -f -r /tmp/* \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& rm -rf /var/lib/{apt,dpkg,cache,log}/* \
|
||||
&& rm -rf /var/{cache,log}/*/*
|
||||
|
||||
# Copy root filesystem
|
||||
COPY rootfs /
|
||||
|
||||
# Add airsonos binary
|
||||
ARG BUILD_ARCH
|
||||
ADD bin/airsonos-${BUILD_ARCH} /usr/bin/airsonos
|
||||
COPY bin/airsonos-${BUILD_ARCH} /usr/bin/airsonos
|
||||
|
||||
# Build arugments
|
||||
ARG BUILD_DATE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue