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

Commit e1358a7

Browse files
authored
Merge pull request #10 from linuxserver/alpine_3.6
bump to alpine 3.6
2 parents 338c10c + 7bdb36a commit e1358a7

File tree

2 files changed

+19
-25
lines changed

2 files changed

+19
-25
lines changed

Dockerfile

Lines changed: 18 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM lsiobase/alpine:3.5
1+
FROM lsiobase/alpine:3.6
22
MAINTAINER saarg
33

44
# set version label
@@ -15,16 +15,20 @@ COPY patches/ /
1515
# install build dependencies
1616
RUN \
1717
apk add --no-cache --virtual=build-dependencies \
18+
argp-standalone \
1819
autoconf \
1920
automake \
21+
binutils \
2022
boost-dev \
2123
cmake \
24+
confuse-dev \
2225
curl-dev \
2326
doxygen \
2427
eudev-dev \
2528
g++ \
2629
gcc \
2730
git \
31+
gzip \
2832
libcurl \
2933
libftdi1-dev \
3034
libressl-dev \
@@ -40,16 +44,11 @@ RUN \
4044
tar \
4145
zlib-dev && \
4246

43-
# install telldus-core build-dependencies
44-
apk add --no-cache --virtual=telldus-build-dependencies \
45-
argp-standalone \
46-
binutils \
47-
confuse-dev \
48-
curl \
49-
gzip && \
50-
51-
# add runtime packages required in build stage
47+
# install runtime packages
5248
apk add --no-cache \
49+
curl \
50+
eudev-libs \
51+
libressl \
5352
python3-dev && \
5453

5554
# link libftdi as the alpine guys named the libs wrong
@@ -61,11 +60,11 @@ RUN \
6160
mkdir -p \
6261
/tmp/telldus-core && \
6362
curl -o /tmp/telldus-core.tar.gz -L \
64-
http://download.telldus.se/TellStick/Software/telldus-core/telldus-core-2.1.2.tar.gz && \
63+
http://download.telldus.se/TellStick/Software/telldus-core/telldus-core-2.1.2.tar.gz && \
6564
tar xf /tmp/telldus-core.tar.gz -C \
6665
/tmp/telldus-core --strip-components=1 && \
6766
curl -o /tmp/telldus-core/Doxyfile.in -L \
68-
https://raw.githubusercontent.com/telldus/telldus/master/telldus-core/Doxyfile.in && \
67+
https://raw.githubusercontent.com/telldus/telldus/master/telldus-core/Doxyfile.in && \
6968
cp /tmp/patches/Socket_unix.cpp /tmp/telldus-core/common/Socket_unix.cpp && \
7069
cp /tmp/patches/ConnectionListener_unix.cpp /tmp/telldus-core/service/ConnectionListener_unix.cpp && \
7170
cp /tmp/patches/CMakeLists.txt /tmp/telldus-core/CMakeLists.txt && \
@@ -89,7 +88,7 @@ RUN \
8988
pkgconfigdir="usr/lib/pkgconfig/" \
9089
PREFIX=/usr \
9190
sysconfdir=etc/openzwave \
92-
install && \
91+
install && \
9392

9493
# build domoticz
9594
git clone https://github.com/domoticz/domoticz.git /tmp/domoticz && \
@@ -103,7 +102,8 @@ RUN \
103102
-DUSE_BUILTIN_MQTT=OFF \
104103
-DUSE_BUILTIN_SQLITE=OFF \
105104
-DUSE_STATIC_LIBSTDCXX=OFF \
106-
-DUSE_STATIC_OPENZWAVE=OFF && \
105+
-DUSE_STATIC_OPENZWAVE=OFF \
106+
-Wno-dev && \
107107
make && \
108108
make install && \
109109

@@ -116,23 +116,16 @@ RUN \
116116
| sort -u \
117117
)" && \
118118

119-
# install runtime dependencies
119+
# install runtime packages
120120
apk add --no-cache \
121-
curl \
122-
eudev-libs \
123-
libressl \
124121
$RUNTIME_PACKAGES && \
125122

126-
# cleanup build dependencies
127-
apk del --purge \
128-
build-dependencies \
129-
telldus-build-dependencies && \
130-
131-
132123
# add abc to dialout and cron group trying to fix different GID for dialout group
133124
usermod -a -G 16,20 abc && \
134125

135-
# cleanup /tmp
126+
# cleanup
127+
apk del --purge \
128+
build-dependencies && \
136129
rm -rf \
137130
/tmp/* \
138131
/usr/lib/libftdi* \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ The user manual is available at [www.domoticz.com][appurl]
106106

107107
## Versions
108108

109+
+ **28.05.2017:** Rebase to alpine 3.6.
109110
+ **26.02.2017:** Add curl and replace openssl with libressl.
110111
+ **11.02.2017:** Update README.
111112
+ **03.01.2017:** Initial Release.

0 commit comments

Comments
 (0)