Skip to content

Commit 2e12ad4

Browse files
committed
Fix luarocks installation for alpine 3.9
Alpine 3.9 had internal wget tool based on it's busybox. Found that it was not workable with luacheck tool. The current fix changes wget tool from busybox to wget from package. To install wget from the package added git package installation. Also repository update added. Closes #170
1 parent 837c4ac commit 2e12ad4

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

dockerfiles/alpine_3.9_1.x

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ RUN set -x \
216216
&& : "---------- remove build deps ----------" \
217217
&& apk del .build-deps
218218

219+
# gh-170: needed for luarocks
220+
RUN apk update \
221+
&& apk add wget git
222+
219223
RUN mkdir -p /var/lib/tarantool \
220224
&& chown tarantool:tarantool /var/lib/tarantool \
221225
&& mkdir -p /opt/tarantool \

dockerfiles/alpine_3.9_2.x

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ RUN set -x \
219219
&& : "---------- remove build deps ----------" \
220220
&& apk del .build-deps
221221

222+
# gh-170: needed for luarocks
223+
RUN apk update \
224+
&& apk add wget git
225+
222226
RUN mkdir -p /var/lib/tarantool \
223227
&& chown tarantool:tarantool /var/lib/tarantool \
224228
&& mkdir -p /opt/tarantool \

0 commit comments

Comments
 (0)