mirror of
https://github.com/iv-org/invidious.git
synced 2024-08-21 19:43:23 +02:00
Merge pull request #752 from gnomus/master
[Fix][Docker] Update Package Repository for Install
This commit is contained in:
commit
24c95c27c3
@ -1,5 +1,5 @@
|
|||||||
FROM alpine:edge AS builder
|
FROM alpine:edge AS builder
|
||||||
RUN apk add -u crystal shards libc-dev \
|
RUN apk add --no-cache crystal shards libc-dev \
|
||||||
yaml-dev libxml2-dev sqlite-dev zlib-dev openssl-dev \
|
yaml-dev libxml2-dev sqlite-dev zlib-dev openssl-dev \
|
||||||
sqlite-static zlib-static openssl-libs-static
|
sqlite-static zlib-static openssl-libs-static
|
||||||
WORKDIR /invidious
|
WORKDIR /invidious
|
||||||
@ -15,7 +15,7 @@ RUN crystal build --static --release \
|
|||||||
./src/invidious.cr
|
./src/invidious.cr
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk add -u imagemagick ttf-opensans
|
RUN apk add --no-cache imagemagick ttf-opensans
|
||||||
WORKDIR /invidious
|
WORKDIR /invidious
|
||||||
RUN addgroup -g 1000 -S invidious && \
|
RUN addgroup -g 1000 -S invidious && \
|
||||||
adduser -u 1000 -S invidious -G invidious
|
adduser -u 1000 -S invidious -G invidious
|
||||||
|
Loading…
Reference in New Issue
Block a user