Skip to content
This repository was archived by the owner on Jan 1, 2024. It is now read-only.

Commit 094165c

Browse files
committed
add build time ARG to build Stable release of Domoticz. changed openssl to libressl
1 parent e58ead9 commit 094165c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
FROM lsiobase/alpine:3.5
22
MAINTAINER saarg
33

4+
# package version
5+
ARG DOMOTICZ_VER="3.5877
6+
47
# set version label
58
ARG BUILD_DATE
69
ARG VERSION
@@ -94,6 +97,7 @@ RUN \
9497
# build domoticz
9598
git clone https://github.com/domoticz/domoticz.git /tmp/domoticz && \
9699
cd /tmp/domoticz && \
100+
git checkout "${DOMOTICZ_VER}" && \
97101
cmake \
98102
-DBUILD_SHARED_LIBS=True \
99103
-DCMAKE_BUILD_TYPE=Release \
@@ -119,7 +123,7 @@ RUN \
119123
# install runtime dependencies
120124
apk add --no-cache \
121125
eudev-libs \
122-
openssl \
126+
libressl \
123127
$RUNTIME_PACKAGES && \
124128
125129
# cleanup build dependencies

0 commit comments

Comments
 (0)