mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
update aircast
This commit is contained in:
parent
6103375ec2
commit
18dacdb54f
@ -156,7 +156,7 @@ A collection of delicious docker recipes.
|
||||
|
||||
## Media
|
||||
|
||||
- [x] aircast-arm :musical_note:
|
||||
- [x] aircast-arm64 :musical_note:
|
||||
- [x] cmus
|
||||
- [x] cmus-arm
|
||||
- [x] darkice :musical_note:
|
||||
|
@ -1,18 +0,0 @@
|
||||
#
|
||||
# Dockerfile for aircast-arm
|
||||
#
|
||||
|
||||
FROM alpine:3
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
ENV APP_ARCH=arm
|
||||
ENV APP_FILE=aircast-$APP_ARCH-static
|
||||
ENV APP_URL=https://github.com/philippe44/AirConnect/raw/master/bin/$APP_FILE
|
||||
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache curl \
|
||||
&& curl -sSL -o /usr/local/bin/aircast $APP_URL \
|
||||
&& chmod +x /usr/local/bin/aircast
|
||||
|
||||
CMD ["aircast", "-Z"]
|
19
aircast-arm64/Dockerfile
Normal file
19
aircast-arm64/Dockerfile
Normal file
@ -0,0 +1,19 @@
|
||||
#
|
||||
# Dockerfile for aircast-arm64
|
||||
#
|
||||
|
||||
FROM alpine:3
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
ARG APP_OS=linux
|
||||
ARG APP_ARCH=aarch64
|
||||
ARG APP_FILE=aircast-${APP_OS}-${APP_ARCH}-static
|
||||
ARG APP_URL=https://github.com/philippe44/AirConnect/raw/master/bin/${APP_FILE}
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache curl \
|
||||
&& curl -sSL -o /usr/local/bin/aircast ${APP_URL} \
|
||||
&& chmod +x /usr/local/bin/aircast \
|
||||
&& aircast -t
|
||||
|
||||
CMD ["aircast", "-Z"]
|
@ -1,6 +1,6 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
aircast:
|
||||
image: easypi/aircast-arm
|
||||
image: easypi/aircast-arm64
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
26
owncast/Dockerfile
Normal file
26
owncast/Dockerfile
Normal file
@ -0,0 +1,26 @@
|
||||
#
|
||||
# Dockerfile for owncast
|
||||
#
|
||||
|
||||
FROM alpine:3
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
ARG TARGETPLATFORM
|
||||
|
||||
ENV OWNCAST_VERSION=0.0.10
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN set -xe \
|
||||
&& OWNCAST_ARCH=$(echo $TARGETPLATFORM | sed -e 's@^linux/@@' \
|
||||
-e 's@386@32bit@' \
|
||||
-e 's@amd64@64bit@' \
|
||||
-e 's@arm/v7@arm7@' \
|
||||
-e 's@arm64@arm64@') \
|
||||
&& OWNCAST_FILE=owncast-${OWNCAST_VERSION}-linux-${OWNCAST_ARCH}.zip \
|
||||
&& apk add --no-cache curl ffmpeg ffmpeg-libs gcompat \
|
||||
&& curl -sSLO https://github.com/owncast/owncast/releases/download/v${OWNCAST_VERSION}/${OWNCAST_FILE} \
|
||||
&& unzip ${OWNCAST_FILE} \
|
||||
&& rm ${OWNCAST_FILE}
|
||||
|
||||
CMD ["/app/owncast"]
|
Loading…
Reference in New Issue
Block a user