mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
Upgrade docker base image to 1.4.3 (#499)
This commit is contained in:
parent
41db8a1264
commit
cda9bad233
4 changed files with 6 additions and 6 deletions
|
@ -41,11 +41,11 @@ stages:
|
||||||
|
|
||||||
- |
|
- |
|
||||||
if [[ "${IS_HASSIO}" == "YES" ]]; then
|
if [[ "${IS_HASSIO}" == "YES" ]]; then
|
||||||
BUILD_FROM=esphome/esphome-hassio-base-${BUILD_ARCH}:1.4.1
|
BUILD_FROM=esphome/esphome-hassio-base-${BUILD_ARCH}:1.4.3
|
||||||
BUILD_TO=esphome/esphome-hassio-${BUILD_ARCH}
|
BUILD_TO=esphome/esphome-hassio-${BUILD_ARCH}
|
||||||
DOCKERFILE=docker/Dockerfile.hassio
|
DOCKERFILE=docker/Dockerfile.hassio
|
||||||
else
|
else
|
||||||
BUILD_FROM=esphome/esphome-base-${BUILD_ARCH}:1.4.1
|
BUILD_FROM=esphome/esphome-base-${BUILD_ARCH}:1.4.3
|
||||||
if [[ "${BUILD_ARCH}" == "amd64" ]]; then
|
if [[ "${BUILD_ARCH}" == "amd64" ]]; then
|
||||||
BUILD_TO=esphome/esphome
|
BUILD_TO=esphome/esphome
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
ARG BUILD_FROM=esphome/esphome-base-amd64:1.4.1
|
ARG BUILD_FROM=esphome/esphome-base-amd64:1.4.3
|
||||||
FROM ${BUILD_FROM}
|
FROM ${BUILD_FROM}
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
ARG BUILD_FROM=esphome/esphome-hassio-base-amd64:1.4.1
|
ARG BUILD_FROM=esphome/esphome-hassio-base-amd64:1.4.3
|
||||||
FROM ${BUILD_FROM}
|
FROM ${BUILD_FROM}
|
||||||
|
|
||||||
# Copy root filesystem
|
# Copy root filesystem
|
||||||
|
|
|
@ -16,11 +16,11 @@ echo "PWD: $PWD"
|
||||||
|
|
||||||
if [[ ${IS_HASSIO} = "YES" ]]; then
|
if [[ ${IS_HASSIO} = "YES" ]]; then
|
||||||
docker build \
|
docker build \
|
||||||
--build-arg "BUILD_FROM=esphome/esphome-hassio-base-${BUILD_ARCH}:1.4.1" \
|
--build-arg "BUILD_FROM=esphome/esphome-hassio-base-${BUILD_ARCH}:1.4.3" \
|
||||||
--build-arg "BUILD_VERSION=${CACHE_TAG}" \
|
--build-arg "BUILD_VERSION=${CACHE_TAG}" \
|
||||||
-t "${IMAGE_NAME}" -f ../docker/Dockerfile.hassio ..
|
-t "${IMAGE_NAME}" -f ../docker/Dockerfile.hassio ..
|
||||||
else
|
else
|
||||||
docker build \
|
docker build \
|
||||||
--build-arg "BUILD_FROM=esphome/esphome-base-${BUILD_ARCH}:1.4.1" \
|
--build-arg "BUILD_FROM=esphome/esphome-base-${BUILD_ARCH}:1.4.3" \
|
||||||
-t "${IMAGE_NAME}" -f ../docker/Dockerfile ..
|
-t "${IMAGE_NAME}" -f ../docker/Dockerfile ..
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue