fix: mergefs again (#754)

This commit is contained in:
Trim21
2024-05-29 03:34:25 +08:00
committed by GitHub
parent be79fe0a46
commit 503c63781e
2 changed files with 4 additions and 5 deletions
@@ -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/*
+2 -1
View File
@@ -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