Update Package Repository for Install

This commit is contained in:
gnomus 2019-09-13 14:54:31 +02:00 committed by gnomus
parent b1fc80b79a
commit 3c40c0be6b
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
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 \
sqlite-static zlib-static openssl-libs-static
WORKDIR /invidious
@ -15,7 +15,7 @@ RUN crystal build --static --release \
./src/invidious.cr
FROM alpine:latest
RUN apk add -u imagemagick ttf-opensans
RUN apk add --no-cache imagemagick ttf-opensans
WORKDIR /invidious
RUN addgroup -g 1000 -S invidious && \
adduser -u 1000 -S invidious -G invidious