Skip to content

Commit 3beb401

Browse files
committed
Fix luarocks installation functionality
Found that default wget on alpine 3.9 is not workable with luarocks tool. Package with wget and git tools need to be additionaly installed there. Also for alpine 3.5 git tool need to be installed with repository update before it. Closes #170
1 parent c5f7723 commit 3beb401

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-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 \

dockerfiles/alpine_3.9_1.x

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

219+
# gh-170: needed for luarocks
220+
RUN apk add wget git
221+
219222
RUN mkdir -p /var/lib/tarantool \
220223
&& chown tarantool:tarantool /var/lib/tarantool \
221224
&& mkdir -p /opt/tarantool \

dockerfiles/alpine_3.9_2.x

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

222+
# gh-170: needed for luarocks
223+
RUN apk add wget git
224+
222225
RUN mkdir -p /var/lib/tarantool \
223226
&& chown tarantool:tarantool /var/lib/tarantool \
224227
&& mkdir -p /opt/tarantool \

0 commit comments

Comments
 (0)