-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
17 additions
and
95 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
ARG BUILD_FROM BUILD_FROM_TAG | ||
FROM python:3.12-slim | ||
FROM homeassistant/home-assistant:dev | ||
|
||
ENV DEVCONTAINER=true | ||
|
||
COPY ./container /container | ||
COPY ./install /install | ||
|
||
ARG OS_VARIANT CONTAINER_TYPE | ||
RUN \ | ||
bash /install/init.sh \ | ||
&& bash /install/container.sh \ | ||
&& bash /install/integration.sh \ | ||
&& bash /install/cleanup.sh | ||
|
||
CMD ["bash"] |
File renamed without changes.
File renamed without changes.
This file contains 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
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
start: ## Start Home Assistant with the integration loaded | ||
@bash /opt/container/helpers/common/homeassistant/start.sh | ||
@bash /opt/container/helpers/homeassistant/start.sh | ||
|
||
run: | ||
start | ||
|
||
up: | ||
start | ||
|
||
set-version: ## Set Home Assistant version | ||
@bash /opt/container/helpers/common/homeassistant/set-version.sh | ||
@bash /opt/container/helpers/homeassistant/set-version.sh | ||
|
||
install: ## Install Home Assistant dev in the container | ||
@python3 -m pip --disable-pip-version-check install --upgrade git+https://github.com/home-assistant/home-assistant.git@dev | ||
|
||
upgrade: ## Upgrade Home Assistant to latest dev in the container | ||
install | ||
|
||
run: | ||
start | ||
|
||
check-config: ## Check Home Assistant config | ||
@hass -c /config --script check_config | ||
|
||
init: ## Initialize the dev env | ||
@bash /opt/container/helpers/integration/init.sh |
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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