mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-18 06:13:17 -04:00
25 lines
583 B
Docker
25 lines
583 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage
|
|
|
|
ARG MOD_VERSION=master
|
|
|
|
RUN \
|
|
echo "**** grab rffmpeg ****" && \
|
|
mkdir -p /root-layer/usr/local/bin/ && \
|
|
curl -o \
|
|
/root-layer/usr/local/bin/rffmpeg -L \
|
|
"https://raw.githubusercontent.com/joshuaboniface/rffmpeg/${MOD_VERSION}/rffmpeg" && \
|
|
chmod +x /root-layer/usr/local/bin/rffmpeg
|
|
|
|
# copy local files
|
|
COPY root/ /root-layer/
|
|
|
|
## Single layer deployed image ##
|
|
FROM scratch
|
|
|
|
LABEL maintainer="junkman690"
|
|
|
|
# Add files from buildstage
|
|
COPY --from=buildstage /root-layer/ /
|