nim version min require + update dockerfile arm (#1053)

This commit is contained in:
Émilien (perso) 2023-10-31 23:33:08 +01:00 committed by GitHub
parent d7ca353a55
commit b62d73dbd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
FROM alpine:3.17 as nim
FROM alpine:3.18 as nim
LABEL maintainer="setenforce@protonmail.com"
RUN apk --no-cache add gcc git libc-dev libsass-dev "nim=1.6.8-r0" nimble pcre
RUN apk --no-cache add gcc git libc-dev libsass-dev "nim=1.6.14-r0" nimble pcre
WORKDIR /src/nitter
@ -13,7 +13,7 @@ RUN nimble build -d:danger -d:lto -d:strip \
&& nimble scss \
&& nimble md
FROM alpine:3.17
FROM alpine:3.18
WORKDIR /src/
RUN apk --no-cache add ca-certificates pcre openssl1.1-compat
COPY --from=nim /src/nitter/nitter ./

View File

@ -10,7 +10,7 @@ bin = @["nitter"]
# Dependencies
requires "nim >= 1.4.8"
requires "nim >= 1.6.10"
requires "jester#baca3f"
requires "karax#5cf360c"
requires "sass#7dfdd03"