mirror of
https://github.com/zoriya/flood.git
synced 2026-06-03 03:12:14 +00:00
fix: mergefs again (#754)
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
FROM docker.io/jesec/busybox-applets as busybox
|
||||
|
||||
FROM docker.io/alpine as build
|
||||
|
||||
WORKDIR /root
|
||||
@@ -15,9 +13,9 @@ RUN if [[ `uname -m` == "aarch64" ]]; \
|
||||
fi
|
||||
RUN mv flood /root/sysroot/bin/flood
|
||||
|
||||
COPY --from=busybox /bin/busybox_DF /root/sysroot/bin/df
|
||||
|
||||
RUN apk --no-cache add tini-static
|
||||
RUN apk --no-cache add tini-static coreutils
|
||||
COPY /bin/df /root/sysroot/bin/df
|
||||
RUN cp /sbin/tini-static /root/sysroot/bin/tini
|
||||
|
||||
RUN chmod 0555 /root/sysroot/bin/*
|
||||
|
||||
@@ -13,7 +13,8 @@ RUN npm i -g "${PACKAGE}"@"${VERSION}" &&\
|
||||
# Install runtime dependencies
|
||||
RUN apk --no-cache add \
|
||||
mediainfo \
|
||||
tini
|
||||
tini \
|
||||
coreutils
|
||||
|
||||
# Create "download" user
|
||||
RUN adduser -h /home/download -s /sbin/nologin --disabled-password download
|
||||
|
||||
Reference in New Issue
Block a user