Created
March 26, 2023 19:50
-
-
Save tmikoss/f6d2e02d35f5335c8410bdd8a32b2d72 to your computer and use it in GitHub Desktop.
Homeassistant + HACS docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:latest AS workbench | |
RUN apk --no-cache add curl libarchive-tools | |
FROM workbench AS tapo_control | |
RUN curl -L -o addon.zip https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/archive/refs/tags/4.2.4.zip | |
RUN mkdir -p addon | |
RUN bsdtar --strip-components=1 -C addon -xvf addon.zip | |
FROM workbench AS roborock | |
RUN curl -L -o addon.zip https://github.com/humbertogontijo/homeassistant-roborock/archive/refs/tags/0.0.28.zip | |
RUN mkdir -p addon | |
RUN bsdtar --strip-components=1 -C addon -xvf addon.zip | |
FROM homeassistant/home-assistant:2022.12 | |
RUN mkdir -p /config/custom_components | |
COPY --from=tapo_control /addon/custom_components/tapo_control /config/custom_components/tapo_control | |
COPY --from=roborock /addon/custom_components/roborock /config/custom_components/roborock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment