summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorxbdm <xbdm@xbdm.fun>2023-10-10 15:12:21 -0400
committerGitHub <noreply@github.com>2023-10-10 19:12:21 +0000
commit069e91d2a609b1df94bdfbb693335969b2a281d8 (patch)
tree8321159a8e28396b90a9d46859cad72b4034e77f /docker
parent60fae015d8b5e4b0bfac8306065db07f93c4c661 (diff)
downloadinvidious-069e91d2a609b1df94bdfbb693335969b2a281d8.tar.gz
invidious-069e91d2a609b1df94bdfbb693335969b2a281d8.tar.bz2
invidious-069e91d2a609b1df94bdfbb693335969b2a281d8.zip
alpine v3.18 & Update Helm release postgresql (#4103)
Co-authored-by: Samantaz Fox <coding@samantaz.fr> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile9
-rw-r--r--docker/Dockerfile.arm646
2 files changed, 7 insertions, 8 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 761bbdca..c9644ca6 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,4 +1,5 @@
-FROM crystallang/crystal:1.4.1-alpine AS builder
+FROM crystallang/crystal:1.8.2-alpine AS builder
+
RUN apk add --no-cache sqlite-static yaml-static
ARG release
@@ -19,8 +20,7 @@ COPY ./assets/ ./assets/
COPY ./videojs-dependencies.yml ./videojs-dependencies.yml
RUN crystal spec --warnings all \
- --link-flags "-lxml2 -llzma"
-
+ --link-flags "-lxml2 -llzma"
RUN if [[ "${release}" == 1 ]] ; then \
crystal build ./src/invidious.cr \
--release \
@@ -32,8 +32,7 @@ RUN if [[ "${release}" == 1 ]] ; then \
--link-flags "-lxml2 -llzma"; \
fi
-
-FROM alpine:3.16
+FROM alpine:3.18
RUN apk add --no-cache librsvg ttf-opensans tini
WORKDIR /invidious
RUN addgroup -g 1000 -S invidious && \
diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64
index cf9231fb..d9a4eeaf 100644
--- a/docker/Dockerfile.arm64
+++ b/docker/Dockerfile.arm64
@@ -1,5 +1,5 @@
-FROM alpine:3.16 AS builder
-RUN apk add --no-cache 'crystal=1.4.1-r0' shards sqlite-static yaml-static yaml-dev libxml2-dev zlib-static openssl-libs-static openssl-dev musl-dev
+FROM alpine:3.18 AS builder
+RUN apk add --no-cache 'crystal=1.8.2-r0' shards sqlite-static yaml-static yaml-dev libxml2-static zlib-static openssl-libs-static openssl-dev musl-dev xz-static
ARG release
@@ -32,7 +32,7 @@ RUN if [[ "${release}" == 1 ]] ; then \
--link-flags "-lxml2 -llzma"; \
fi
-FROM alpine:3.16
+FROM alpine:3.18
RUN apk add --no-cache librsvg ttf-opensans tini
WORKDIR /invidious
RUN addgroup -g 1000 -S invidious && \