Skip to content

Commit

Permalink
install coreutils
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed May 28, 2024
1 parent d41e4e0 commit 3ba4933
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions distribution/containers/Dockerfile.distroless
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
FROM docker.io/jesec/busybox-applets as busybox

FROM docker.io/alpine as build

WORKDIR /root
Expand All @@ -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/*
Expand Down
3 changes: 2 additions & 1 deletion distribution/containers/Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ba4933

Please sign in to comment.