You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-11-27 22:28:31 +02:00
add hass
This commit is contained in:
@@ -118,6 +118,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] dokuwiki-arm :+1:
|
- [x] dokuwiki-arm :+1:
|
||||||
- [x] gogs-arm :cn:
|
- [x] gogs-arm :cn:
|
||||||
- [x] grafana
|
- [x] grafana
|
||||||
|
- [x] hass
|
||||||
- [x] hugo
|
- [x] hugo
|
||||||
- [x] hugo-arm
|
- [x] hugo-arm
|
||||||
- [x] jamapi
|
- [x] jamapi
|
||||||
|
|||||||
15
hass/Dockerfile
Normal file
15
hass/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for hass (Home Assistant)
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM alpine
|
||||||
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
|
RUN set -xe \
|
||||||
|
&& apk add --no-cache python3 \
|
||||||
|
&& python3 -m pip install --no-cache-dir homeassistant
|
||||||
|
|
||||||
|
VOLUME /etc/hass
|
||||||
|
EXPOSE 8123
|
||||||
|
|
||||||
|
ENTRYPOINT ["hass", "--config", "/etc/hass"]
|
||||||
2
hass/README.md
Normal file
2
hass/README.md
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
home-assistant
|
||||||
|
==============
|
||||||
15
hass/arm/Dockerfile
Normal file
15
hass/arm/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for hass-arm (Home Assistant)
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM easypi/alpine-arm
|
||||||
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
|
RUN set -xe \
|
||||||
|
&& apk add --no-cache python3 \
|
||||||
|
&& python3 -m pip install --no-cache-dir homeassistant
|
||||||
|
|
||||||
|
VOLUME /etc/hass
|
||||||
|
EXPOSE 8123
|
||||||
|
|
||||||
|
ENTRYPOINT ["hass", "--config", "/etc/hass"]
|
||||||
7
hass/arm/docker-compose.yml
Normal file
7
hass/arm/docker-compose.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
hass:
|
||||||
|
image: easypi/hass-arm
|
||||||
|
ports:
|
||||||
|
- "8123:8123"
|
||||||
|
volumes:
|
||||||
|
- ./data:/etc/hass
|
||||||
|
restart: unless-stopped
|
||||||
7
hass/docker-compose.yml
Normal file
7
hass/docker-compose.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
hass:
|
||||||
|
image: vimagick/hass
|
||||||
|
ports:
|
||||||
|
- "8123:8123"
|
||||||
|
volumes:
|
||||||
|
- ./data:/etc/hass
|
||||||
|
restart: unless-stopped
|
||||||
@@ -6,8 +6,7 @@ FROM alpine
|
|||||||
MAINTAINER kev <noreply@easypi.info>
|
MAINTAINER kev <noreply@easypi.info>
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apk add -U curl python \
|
&& apk add --no-cache curl python \
|
||||||
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python \
|
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python
|
||||||
&& rm -rf /var/cache/apk/*
|
|
||||||
|
|
||||||
CMD ["python"]
|
CMD ["python"]
|
||||||
|
|||||||
@@ -6,8 +6,7 @@ FROM alpine
|
|||||||
MAINTAINER kev <noreply@easypi.info>
|
MAINTAINER kev <noreply@easypi.info>
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apk add -U curl python3 \
|
&& apk add --no-cache curl python3 \
|
||||||
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python3 \
|
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python3
|
||||||
&& rm -rf /var/cache/apk/*
|
|
||||||
|
|
||||||
CMD ["python3"]
|
CMD ["python3"]
|
||||||
|
|||||||
Reference in New Issue
Block a user