mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 11:56:25 +01:00
Move package installs up, add xz-utils
This commit is contained in:
parent
a687682978
commit
d2f7a621eb
@ -53,6 +53,19 @@ CMD ["dashboard", "/config"]
|
||||
|
||||
FROM base-final AS base-hassio
|
||||
|
||||
RUN \
|
||||
set -x \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
nginx-light=1.22.1-9 \
|
||||
jq \
|
||||
xz-utils \
|
||||
&& rm -rf \
|
||||
/tmp/* \
|
||||
/var/{cache,log}/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/usr/src/*
|
||||
|
||||
ARG \
|
||||
BASHIO_VERSION=0.16.2 \
|
||||
TEMPIO_VERSION=2021.09.0 \
|
||||
@ -71,7 +84,7 @@ RUN \
|
||||
elif [ "${TARGETARCH}${TARGETVARIANT}" = "amd64" ]; then \
|
||||
export S6_ARCH="x86_64"; \
|
||||
export TEMPIO_ARCH="amd64"; \
|
||||
elif [ "${TARGETARCH}${TARGETVARIANT}" = "arm64"]; then \
|
||||
elif [ "${TARGETARCH}${TARGETVARIANT}" = "arm64" ]; then \
|
||||
export S6_ARCH="aarch64"; \
|
||||
export TEMPIO_ARCH="aarch64"; \
|
||||
fi \
|
||||
@ -99,18 +112,6 @@ RUN \
|
||||
\
|
||||
&& rm -rf /usr/src/*
|
||||
|
||||
RUN \
|
||||
set -x \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
nginx-light=1.22.1-9 \
|
||||
jq \
|
||||
&& rm -rf \
|
||||
/tmp/* \
|
||||
/var/{cache,log}/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/usr/src/*
|
||||
|
||||
|
||||
COPY docker/ha-addon-rootfs/ /
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user