mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
add openhab
This commit is contained in:
parent
0d5b06a99e
commit
31ce33b440
@ -70,6 +70,7 @@ A collection of delicious docker recipes.
|
||||
- [x] nifi
|
||||
- [x] nullmailer
|
||||
- [x] nullmailer-arm
|
||||
- [x] openhab
|
||||
- [x] openssh
|
||||
- [x] phantomjs
|
||||
- [x] portia
|
||||
|
25
openhab/Dockerfile
Normal file
25
openhab/Dockerfile
Normal file
@ -0,0 +1,25 @@
|
||||
#
|
||||
# Dockerfile for openhab
|
||||
#
|
||||
|
||||
FROM java:jre-alpine
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
ENV OPENHAB_VERSION 2.0.0-SNAPSHOT
|
||||
ENV OPENHAB_FILE openhab-online-${OPENHAB_VERSION}.zip
|
||||
ENV OPENHAB_URL https://openhab.ci.cloudbees.com/job/openHAB-Distribution/lastSuccessfulBuild/artifact/distributions/openhab-online/target/${OPENHAB_FILE}
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache curl \
|
||||
&& curl -sSL $OPENHAB_URL > $OPENHAB_FILE \
|
||||
&& unzip $OPENHAB_FILE \
|
||||
&& apk del curl \
|
||||
&& rm -rf $OPENHAB_FILE
|
||||
|
||||
VOLUME /app/conf /app/userdata /app/addons
|
||||
|
||||
EXPOSE 8080 8443 5555
|
||||
|
||||
CMD ["/app/start.sh"]
|
19
openhab/README.md
Normal file
19
openhab/README.md
Normal file
@ -0,0 +1,19 @@
|
||||
openHAB
|
||||
=======
|
||||
|
||||
[openHAB][1] - a vendor and technology agnostic open source automation software
|
||||
for your home. Build your smart home in no time!
|
||||
|
||||
## docker-compose.yml
|
||||
|
||||
```yaml
|
||||
openhab:
|
||||
image: vimagick/openhab
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "8443:8443"
|
||||
- "5555:5555"
|
||||
restart: always
|
||||
```
|
||||
|
||||
[1]: http://www.openhab.org/
|
7
openhab/docker-compose.yml
Normal file
7
openhab/docker-compose.yml
Normal file
@ -0,0 +1,7 @@
|
||||
openhab:
|
||||
image: vimagick/openhab
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "8443:8443"
|
||||
- "5555:5555"
|
||||
restart: always
|
Loading…
Reference in New Issue
Block a user