Skip to content

Commit

Permalink
upgrade hass to 2025.1.1 and hacs to 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
SaswatPadhi committed Jan 8, 2025
1 parent ed36e62 commit 5fead1d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM homeassistant/home-assistant:2024.12.5
FROM homeassistant/home-assistant:2025.1.1

ARG HACS_VERSION=2.0.1
ARG HACS_VERSION=2.0.2
ARG HACS_SHA_512=ca02c25166159bb660ab36dd4bdccecbca4a596fb154e51a101b1cdb643b6fc3600e727ae5d69ba3318eba73f6d4319b70a2bfcf0ebd3d2da2a0bb3ed80893a7

COPY run.sh /etc/services.d/home-assistant/run

Expand All @@ -10,12 +11,15 @@ ADD https://github.com/hacs/integration/releases/download/${HACS_VERSION}/hacs.z
# Add `iputils` package for `ping` entity to work correctly.
# See: https://community.home-assistant.io/t/device-tracker-ping-entity-not-appearing/328005/9

RUN apk add --update --no-cache \
RUN cd /tmp \
&& echo "${HACS_SHA_512} hacs.zip" > hacs.zip.sha512 \
&& sha512sum -c hacs.zip.sha512 \
&& apk add --update --no-cache \
iputils \
&& mkdir /hacs \
&& cd /hacs \
&& unzip /tmp/hacs.zip \
&& rm /tmp/hacs.zip
&& rm /tmp/hacs.zip /tmp/hacs.zip.sha512

EXPOSE 8123
VOLUME ["/config","/media"]
Expand Down

0 comments on commit 5fead1d

Please sign in to comment.