generated from home-assistant/addons-example
-
Notifications
You must be signed in to change notification settings - Fork 2
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
7 changed files
with
38 additions
and
5 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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-dockerfile | ||
FROM python:3.10-alpine | ||
|
||
# Build arguments | ||
ARG BUILD_DATE | ||
ARG BUILD_DESCRIPTION | ||
ARG BUILD_NAME | ||
ARG BUILD_REF | ||
ARG BUILD_REPOSITORY | ||
ARG BUILD_VERSION | ||
|
||
LABEL \ | ||
org.opencontainers.image.source="https://github.com/unl0ck/homeassistant-addon-viessmann-gridbox" \ | ||
org.opencontainers.image.authors="Simon Helming <[email protected]>" \ | ||
maintainer="Simon Helming <[email protected]>"\ | ||
org.opencontainers.image.created=${BUILD_DATE} \ | ||
org.opencontainers.image.revision=${BUILD_REF} \ | ||
org.opencontainers.image.version=${BUILD_VERSION} | ||
|
||
# Copy root filesystem | ||
COPY GridboxConnectorAddon-edge/GridboxConnector/ /build/GridboxConnector | ||
|
||
RUN cd /build/GridboxConnector && pip install -r requirements.txt | ||
|
||
ENTRYPOINT ["python3", "/build/GridboxConnector"] |
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 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 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