-
-
Notifications
You must be signed in to change notification settings - Fork 323
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (18 loc) · 619 Bytes
/
Dockerfile
File metadata and controls
25 lines (18 loc) · 619 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-alpine:3.23 AS buildstage
ARG MOD_VERSION
RUN \
echo "**** grab rffmpeg ****" && \
mkdir -p /root-layer/usr/local/bin/ && \
MOD_VERSION=${MOD_VERSION:-master} && \
curl -fo \
/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/ /