Skip to content

Commit 837c4ac

Browse files
committed
Fix luarocks installation for alpine 3.5
Alpine 3.5 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. Part of #170
1 parent fa08443 commit 837c4ac

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

dockerfiles/alpine_3.5_1.x

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,10 @@ RUN set -x \
224224
&& : "---------- remove build deps ----------" \
225225
&& apk del .build-deps
226226

227+
# gh-170: needed for luarocks
228+
RUN apk update \
229+
&& apk add wget git
230+
227231
RUN mkdir -p /var/lib/tarantool \
228232
&& chown tarantool:tarantool /var/lib/tarantool \
229233
&& mkdir -p /opt/tarantool \

dockerfiles/alpine_3.5_2.x

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ RUN set -x \
228228
&& : "---------- remove build deps ----------" \
229229
&& apk del .build-deps
230230

231+
# gh-170: needed for luarocks
232+
RUN apk update \
233+
&& apk add wget git
234+
231235
RUN mkdir -p /var/lib/tarantool \
232236
&& chown tarantool:tarantool /var/lib/tarantool \
233237
&& mkdir -p /opt/tarantool \

0 commit comments

Comments
 (0)