images/actions/lua/Dockerfile aktualisiert
Some checks failed
Build Runner Base / build_act (push) Successful in 2m18s
Build Runner csharp / build_csharp (7) (push) Failing after 2m17s
Build Runner Lua / build_lua (5.1) (push) Failing after 2m34s
Build Runner JS / build_lua (latest) (push) Successful in 2m41s
Build Runner Lua / build_lua (5.2) (push) Failing after 2m45s
Build Runner Lua / build_lua (5.3) (push) Failing after 2m44s
Build Runner Lua / build_lua (5.4) (push) Failing after 2m43s
Build Runner Php / build_php (8.2) (push) Successful in 2m40s
Build Runner Php / build_php (8.1) (push) Failing after 2m44s
Build Runner csharp / build_csharp (6) (push) Successful in 3m11s
Build Runner Php / build_php (8.3) (push) Successful in 2m46s
Build Runner Java / build_java (21) (push) Successful in 3m9s
Build Runner Java / build_java (17) (push) Successful in 3m30s
Build Runner Godot / build_godot (4.2.2) (push) Successful in 3m38s
Build Runner Java / build_java (8) (push) Successful in 3m32s

This commit is contained in:
Snoweuph 2024-07-03 01:11:50 +00:00
parent 054db60eb4
commit 3684103a11

View file

@ -1,4 +1,12 @@
FROM git.euph.dev/actions/runner-basic:latest FROM git.euph.dev/actions/runner-basic:latest
ARG PACKAGE_VERSION ARG PACKAGE_VERSION
RUN sudo apk add --no-cache "lua$PACKAGE_VERSION" "luarocks$PACKAGE_VERSION" stylua luacheck lua-inspect lua-language-server RUN release_info=$(curl -s https://api.github.com/repos/LuaLS/lua-language-server/releases/latest) \
&& download_url=$(echo "$release_info" | jq -r '.assets[] | select(.name | endswith("linux-x64.tar.gz")) | .browser_download_url') \
&& curl -LO "$download_url" \
&& tar_file=$(basename "$download_url") \
&& tar -zxvf "$tar_file" bin/lua-language-server \
&& mv ./bin/lua-language-server /usr/local/bin/lua-language-server \
&& rm -rf bin "$tar_file"
RUN sudo apk add --no-cache "lua$PACKAGE_VERSION" "luarocks$PACKAGE_VERSION" stylua luacheck lua-language-server