File tree Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ ENV THELOUNGE_HOME="/config" \
12
12
NPM_CONFIG_LOGLEVEL="info"
13
13
14
14
RUN \
15
+ echo "**** install build packages ****" && \
16
+ apk add --no-cache --virtual=build-dependencies \
17
+ gcc \
18
+ g++ \
19
+ make \
20
+ python-dev && \
15
21
echo "**** install runtime packages ****" && \
16
22
apk add --no-cache \
17
23
curl \
@@ -27,10 +33,13 @@ RUN \
27
33
/app && \
28
34
cd /app && \
29
35
npm install -g \
30
- thelounge@${THELOUNGE_VERSION} && \
36
+ thelounge@${THELOUNGE_VERSION} \
37
+ sqlite3 && \
31
38
echo "**** ensure public true on startup aka no users ****" && \
32
39
sed -i "s/public: false,/public: true,/g" /usr/lib/node_modules/thelounge/defaults/config.js && \
33
40
echo "**** cleanup ****" && \
41
+ apk del --purge \
42
+ build-dependencies && \
34
43
rm -rf \
35
44
/root && \
36
45
mkdir -p / \
Original file line number Diff line number Diff line change @@ -12,6 +12,12 @@ ENV THELOUNGE_HOME="/config" \
12
12
NPM_CONFIG_LOGLEVEL="info"
13
13
14
14
RUN \
15
+ echo "**** install build packages ****" && \
16
+ apk add --no-cache --virtual=build-dependencies \
17
+ gcc \
18
+ g++ \
19
+ make \
20
+ python-dev && \
15
21
echo "**** install runtime packages ****" && \
16
22
apk add --no-cache \
17
23
curl \
@@ -27,10 +33,13 @@ RUN \
27
33
/app && \
28
34
cd /app && \
29
35
npm install -g \
30
- thelounge@${THELOUNGE_VERSION} && \
36
+ thelounge@${THELOUNGE_VERSION} \
37
+ sqlite3 && \
31
38
echo "**** ensure public true on startup aka no users ****" && \
32
39
sed -i "s/public: false,/public: true,/g" /usr/lib/node_modules/thelounge/defaults/config.js && \
33
40
echo "**** cleanup ****" && \
41
+ apk del --purge \
42
+ build-dependencies && \
34
43
rm -rf \
35
44
/root && \
36
45
mkdir -p / \
Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
181
181
182
182
## Versions
183
183
184
+ * ** 15.05.19:** - Update Arm variant images to build sqlite3 module.
184
185
* ** 23.03.19:** - Switching to new Base images, shift to arm32v7 tag.
185
186
* ** 22.02.19:** - Rebasing to alpine 3.9.
186
187
* ** 28.01.19:** - Add pipeline logic and multi arch.
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ app_setup_block: "
47
47
# changelog
48
48
49
49
changelogs :
50
+ - { date: "15.05.19:", desc: "Update Arm variant images to build sqlite3 module." }
50
51
- { date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag." }
51
52
- { date: "22.02.19:", desc: "Rebasing to alpine 3.9." }
52
53
- { date: "28.01.19:", desc: "Add pipeline logic and multi arch." }
@@ -58,4 +59,4 @@ changelogs:
58
59
- { date: "14.10.16:", desc: "Bump to pickup 2.10 release." }
59
60
- { date: "14.10.16:", desc: "Add version layer information." }
60
61
- { date: "11.09.16:", desc: "Add layer badges to README." }
61
- - { date: "31.08.16:", desc: "Initial Release." }
62
+ - { date: "31.08.16:", desc: "Initial Release." }
You can’t perform that action at this time.
0 commit comments