Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sending build context to Docker daemon 4.096kB
- Step 1/14 : FROM alpine:3.14 AS builder
- ---> 14119a10abf4
- Step 2/14 : WORKDIR /usr/local/bin
- ---> Using cache
- ---> 72cc971de163
- Step 3/14 : RUN wget -O curl https://github.com/moparisthebest/static-curl/releases/download/v7.79.1/curl-amd64 && chmod +x curl
- ---> Using cache
- ---> d8986a99160f
- Step 4/14 : RUN wget -O lua-format https://github.com/Koihik/vscode-lua-format/raw/master/bin/linux/lua-format && chmod +x lua-format
- ---> Using cache
- ---> 36f9b4a1fd7b
- Step 5/14 : RUN wget -O stylua-0.11.0-linux.zip https://github.com/JohnnyMorganz/StyLua/releases/download/v0.11.0/stylua-0.11.0-linux.zip && unzip stylua-0.11.0-linux.zip && rm stylua-0.11.0-linux.zip && chmod +x stylua
- ---> Using cache
- ---> c86278f7d2cf
- Step 6/14 : RUN wget -O selene-light-0.14.0-linux.zip https://github.com/Kampfkarren/selene/releases/download/0.14.0/selene-light-0.14.0-linux.zip && unzip selene-light-0.14.0-linux.zip && rm selene-light-0.14.0-linux.zip && chmod +x selene
- ---> Using cache
- ---> d666ee34878e
- Step 7/14 : RUN curl -k -o lua-5.4.2_Linux54_64_bin.tar.gz -L https://sourceforge.net/projects/luabinaries/files/5.4.2/Tools%20Executables/lua-5.4.2_Linux54_64_bin.tar.gz && tar xvf lua-5.4.2_Linux54_64_bin.tar.gz && mv lua54 lua && rm -rf lua-5.4.2_Linux54_64_bin.tar.gz luac54
- ---> Using cache
- ---> 9a0158300e5c
- Step 8/14 : RUN wget -O luarocks-3.7.0-linux-x86_64.zip https://luarocks.github.io/luarocks/releases/luarocks-3.7.0-linux-x86_64.zip && unzip luarocks-3.7.0-linux-x86_64.zip && mv luarocks-3.7.0-linux-x86_64/luarocks . && rm -rf luarocks-3.7.0-linux-x86_64*
- ---> Using cache
- ---> eefbc4d72f70
- Step 9/14 : FROM alpine:3.14
- ---> 14119a10abf4
- Step 10/14 : COPY --from=builder /usr/local/bin /usr/local/bin
- ---> Using cache
- ---> 453e87e7738e
- Step 11/14 : ENV GLIBC_REPO=https://github.com/sgerrand/alpine-pkg-glibc
- ---> Running in a2cd9cff6bff
- Removing intermediate container a2cd9cff6bff
- ---> cd0f8662fe3e
- Step 12/14 : ENV GLIBC_VERSION=2.30-r0
- ---> Running in bc3c7a030c9e
- Removing intermediate container bc3c7a030c9e
- ---> 0fc72d020d7e
- Step 13/14 : RUN set -ex && apk --update add libstdc++ curl ca-certificates && for pkg in glibc-${GLIBC_VERSION} glibc-bin-${GLIBC_VERSION}; do curl -sSL ${GLIBC_REPO}/releases/download/${GLIBC_VERSION}/${pkg}.apk -o /tmp/${pkg}.apk; done && apk add --allow-untrusted /tmp/*.apk && rm -v /tmp/*.apk && /usr/glibc-compat/sbin/ldconfig /lib /usr/glibc-compat/lib
- ---> Running in 1e43afd3ad73
- + apk --update add libstdc++ curl ca-certificates
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
- (1/7) Installing ca-certificates (20191127-r5)
- (2/7) Installing brotli-libs (1.0.9-r5)
- (3/7) Installing nghttp2-libs (1.43.0-r0)
- (4/7) Installing libcurl (7.79.1-r0)
- (5/7) Installing curl (7.79.1-r0)
- (6/7) Installing libgcc (10.3.1_git20210424-r2)
- (7/7) Installing libstdc++ (10.3.1_git20210424-r2)
- Executing busybox-1.33.1-r3.trigger
- Executing ca-certificates-20191127-r5.trigger
- OK: 10 MiB in 21 packages
- + curl -sSL https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.30-r0/glibc-2.30-r0.apk -o /tmp/glibc-2.30-r0.apk
- + curl -sSL https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.30-r0/glibc-bin-2.30-r0.apk -o /tmp/glibc-bin-2.30-r0.apk
- + apk add --allow-untrusted /tmp/glibc-2.30-r0.apk /tmp/glibc-bin-2.30-r0.apk
- (1/2) Installing glibc (2.30-r0)
- (2/2) Installing glibc-bin (2.30-r0)
- Executing glibc-bin-2.30-r0.trigger
- /usr/glibc-compat/sbin/ldconfig: /usr/glibc-compat/lib/ld-linux-x86-64.so.2 is not a symbolic link
- OK: 21 MiB in 23 packages
- + rm -v /tmp/glibc-2.30-r0.apk /tmp/glibc-bin-2.30-r0.apk
- removed '/tmp/glibc-2.30-r0.apk'
- removed '/tmp/glibc-bin-2.30-r0.apk'
- + /usr/glibc-compat/sbin/ldconfig /lib /usr/glibc-compat/lib
- /usr/glibc-compat/sbin/ldconfig: /usr/glibc-compat/lib/ld-linux-x86-64.so.2 is not a symbolic link
- Removing intermediate container 1e43afd3ad73
- ---> da52f85d43d7
- Step 14/14 : WORKDIR /ataraxis
- ---> Running in 548a3ca952ca
- Removing intermediate container 548a3ca952ca
- ---> a95f24149622
- Successfully built a95f24149622
- Successfully tagged alpine-lua-test4:latest
- shahar@shahar-ubuntu:~/SO/16_lua$ sudo docker run -it alpine-lua-test4
- /ataraxis # cd /usr/local/bin
- /usr/local/bin # ./luarocks
- Warning: Lua 5.3 interpreter not found at /usr
- Modules may not install with the correct configurations. You may want to configure the path prefix to your build of Lua 5.3 using
- luarocks config --local lua_dir <your-lua-prefix>
- Usage: luarocks [-h] [--version] [--dev] [--server <server>]
- [--only-server <server>] [--only-sources <url>]
- [--namespace <namespace>] [--lua-dir <prefix>]
- [--lua-version <ver>] [--tree <tree>] [--local] [--global]
- [--verbose] [--timeout <seconds>] [--pin] [<command>] ...
- LuaRocks 3.7.0, the Lua package manager
- luarocks - LuaRocks main command-line interface
- Options:
- -h, --help Show this help message and exit.
- --version Show version info and exit.
- --dev Enable the sub-repositories in rocks servers for
- rockspecs of in-development versions.
- --server <server> Fetch rocks/rockspecs from this server (takes priority
- over config file).
- --only-server <server>
- Fetch rocks/rockspecs from this server only (overrides
- any entries in the config file).
- --only-sources <url> Restrict downloads to paths matching the given URL.
- --namespace <namespace>
- Specify the rocks server namespace to use.
- --lua-dir <prefix> Which Lua installation to use.
- --lua-version <ver> Which Lua version to use.
- --tree <tree> Which tree to operate on.
- --local Use the tree in the user's home directory.
- To enable it, see 'luarocks help path'.
- --global Use the system tree when `local_by_default` is `true`.
- --verbose Display verbose output of commands executed.
- --timeout <seconds> Timeout on network operations, in seconds.
- 0 means no timeout (wait forever). Default is 30.
- --pin Create a luarocks.lock file listing the exact versions
- of each dependency found for this rock (recursively),
- and store it in the rock's directory. Ignores any
- existing luarocks.lock file in the rock's sources.
- Commands:
- help Show help for commands.
- completion Output a shell completion script.
- build Build/compile a rock.
- config Query information about the LuaRocks configuration.
- doc Show documentation for an installed rock.
- download Download a specific rock file from a rocks server.
- init Initialize a directory for a Lua project using
- LuaRocks.
- install Install a rock.
- lint Check syntax of a rockspec.
- list List currently installed rocks.
- make Compile package in current directory using a rockspec.
- new_version Auto-write a rockspec for a new version of a rock.
- pack Create a rock, packing sources or binaries.
- path Return the currently configured package path.
- purge Remove all installed rocks from a tree.
- remove Uninstall a rock.
- search Query the LuaRocks servers.
- show Show information about an installed rock.
- test Run the test suite in the current directory.
- unpack Unpack the contents of a rock.
- upload Upload a rockspec to the public rocks repository.
- which Tell which file corresponds to a given module name.
- write_rockspec Write a template for a rockspec file.
- Variables:
- Variables from the "variables" table of the configuration file can be
- overridden with VAR=VALUE assignments.
- Configuration:
- Lua:
- Version : 5.3
- Interpreter: /usr/bin/lua53 (not found)
- LUA_DIR : /usr (ok)
- ****************************************
- Use the command
- luarocks config lua_dir <dir>
- to fix the location
- ****************************************
- LUA_BINDIR : /usr/bin (ok)
- LUA_INCDIR : (not found)
- LUA_LIBDIR : (not found)
- Configuration files:
- System : /usr/local/etc/luarocks/config-5.3.lua (not found)
- User : /root/.luarocks/config-5.3.lua (not found)
- Rocks trees in use:
- /root/.luarocks ("user")
- /usr/local/bin #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement