Skip to content

Commit 68d00de

Browse files
committed
Fix source location of the socket
1 parent 56eb0d0 commit 68d00de

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ RUN luarocks install busted 2.2.0-1;\
3535
luarocks install luautf8 0.1.6-1;\
3636
luarocks install luasocket
3737

38-
# Copy LuaSocket to runtime directory
39-
RUN mkdir -p /runtime/lua/socket
40-
RUN cp -r /usr/local/share/lua/5.1/socket/* /runtime/lua/socket/
41-
RUN cp -r /usr/local/lib/lua/5.1/socket/* /runtime/lua/socket/
38+
# Copy LuaSocket to the correct location relative to source directory
39+
RUN mkdir -p /src/runtime/lua/socket
40+
RUN cp -r /usr/local/share/lua/5.1/socket/* /src/runtime/lua/socket/
41+
RUN cp -r /usr/local/lib/lua/5.1/socket/* /src/runtime/lua/socket/
4242

4343
RUN --mount=type=cache,from=emmyluadebugger,source=/opt,target=/opt make -C /opt/EmmyLuaDebugger/build/ install
4444
RUN --mount=type=cache,from=luajit,source=/opt,target=/opt make -C /opt/LuaJIT/ install

0 commit comments

Comments
 (0)