feat(ci): version management in cyan dockerfile
This commit is contained in:
parent
3f5766400a
commit
3674c6f431
|
@ -9,6 +9,7 @@
|
||||||
"cSpell.words": [
|
"cSpell.words": [
|
||||||
"aire-one",
|
"aire-one",
|
||||||
"aireone",
|
"aireone",
|
||||||
|
"akorn",
|
||||||
"ansicolors",
|
"ansicolors",
|
||||||
"awesomewm",
|
"awesomewm",
|
||||||
"buildx",
|
"buildx",
|
||||||
|
@ -18,6 +19,7 @@
|
||||||
"htmlparser",
|
"htmlparser",
|
||||||
"isdir",
|
"isdir",
|
||||||
"justfile",
|
"justfile",
|
||||||
|
"libc",
|
||||||
"lldebugger",
|
"lldebugger",
|
||||||
"Luacheck",
|
"Luacheck",
|
||||||
"luacheckrc",
|
"luacheckrc",
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
FROM akorn/luarocks:lua5.4-alpine
|
FROM akorn/luarocks:lua5.4-alpine
|
||||||
RUN apk add just gcc libc-dev musl-dev curl-dev
|
ARG CYAN_VERSION=0.3.0
|
||||||
RUN luarocks install cyan
|
RUN \
|
||||||
|
apk add gcc libc-dev musl-dev curl curl-dev \
|
||||||
|
make tar git \
|
||||||
|
just \
|
||||||
|
&& curl -Ls https://github.com/teal-language/cyan/archive/refs/tags/v${CYAN_VERSION}.tar.gz | tar xvz -C /tmp \
|
||||||
|
&& cd /tmp/cyan-${CYAN_VERSION} \
|
||||||
|
&& luarocks make --dev
|
||||||
|
|
Loading…
Reference in New Issue