Merge pull request 'Update cyan docker image' (#77) from feat/woodpecker-docker-build-cyan into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details

Reviewed-on: #77
This commit is contained in:
Aire-One 2023-02-03 23:39:51 +01:00
commit 4be2a48609
2 changed files with 10 additions and 2 deletions

View File

@ -9,6 +9,7 @@
"cSpell.words": [
"aire-one",
"aireone",
"akorn",
"ansicolors",
"awesomewm",
"buildx",
@ -18,6 +19,7 @@
"htmlparser",
"isdir",
"justfile",
"libc",
"lldebugger",
"Luacheck",
"luacheckrc",

View File

@ -1,3 +1,9 @@
FROM akorn/luarocks:lua5.4-alpine
RUN apk add just gcc libc-dev musl-dev curl-dev
RUN luarocks install cyan
ARG CYAN_VERSION=0.3.0
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