-
-
Save notwa/3ee82067b71672e73a48c7c87aa04dd0 to your computer and use it in GitHub Desktop.
kuroko on alpine linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG KUROKO_COMMIT=81c570686b70253da521cb3a91f1cd01a4a72f29 | |
FROM alpine:3.16.2 | |
RUN apk add --no-cache gcc make musl-dev | |
ARG KUROKO_COMMIT | |
RUN wget "https://github.com/kuroko-lang/kuroko/archive/$KUROKO_COMMIT.tar.gz" \ | |
&& tar zxf "$KUROKO_COMMIT.tar.gz" \ | |
&& mv "kuroko-$KUROKO_COMMIT" kuroko | |
RUN cd kuroko \ | |
&& sed -i '/bind(gamma)/{N;N;d;}' src/modules/module_math.c \ | |
&& sed -i '/MATH_ONE(gamma)/d' src/modules/module_math.c | |
RUN cd kuroko && CFLAGS="-O2 -Wno-misleading-indentation" make | |
RUN cd kuroko && make test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
probably none of this is necessary anymore