1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

upgrade owncast to 0.0.7

This commit is contained in:
kev 2021-05-17 11:12:49 +08:00
parent a15a9e7ddf
commit 71b27d4288
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
version: '3.7'
version: '3.8'
services:

View File

@ -5,17 +5,17 @@
FROM arm32v7/alpine:3
MAINTAINER EasyPi Software Foundation
ENV OWNCAST_VERSION=0.0.5
ENV OWNCAST_FILE=owncast-$OWNCAST_VERSION-linux-arm7.zip
ENV OWNCAST_URL=https://github.com/owncast/owncast/releases/download/v$OWNCAST_VERSION/$OWNCAST_FILE
ENV OWNCAST_VERSION=0.0.7
ENV OWNCAST_FILE=owncast-${OWNCAST_VERSION}-linux-arm7.zip
ENV OWNCAST_URL=https://github.com/owncast/owncast/releases/download/v${OWNCAST_VERSION}/${OWNCAST_FILE}
WORKDIR /app
RUN set -xe \
&& apk add --no-cache curl ffmpeg ffmpeg-libs \
&& ln -s /lib/libc.musl-armv7.so.1 /lib/ld-linux-armhf.so.3 \
&& curl -sSLO $OWNCAST_URL \
&& unzip $OWNCAST_FILE \
&& rm $OWNCAST_FILE
&& curl -sSLO ${OWNCAST_URL} \
&& unzip ${OWNCAST_FILE} \
&& rm ${OWNCAST_FILE}
CMD ["/app/owncast"]