24 lines
421 B
Docker
24 lines
421 B
Docker
|
FROM alpine:edge
|
||
|
RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
|
||
|
ffmpeg \
|
||
|
jq \
|
||
|
multirun \
|
||
|
vector
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
ARG UID=10001
|
||
|
|
||
|
RUN adduser \
|
||
|
--disabled-password \
|
||
|
--gecos "" \
|
||
|
--home "/nonexistent" \
|
||
|
--shell "/sbin/nologin" \
|
||
|
--no-create-home \
|
||
|
--uid "${UID}" \
|
||
|
appuser
|
||
|
|
||
|
USER appuser
|
||
|
|
||
|
CMD ["/usr/bin/multirun", "-v", "vector", "/app/work.sh"]
|