From 7fc2c673d7fa8d646ed791b482078733dcfa7ec5 Mon Sep 17 00:00:00 2001 From: Andrew Gouin Date: Wed, 7 Aug 2024 20:54:54 -0600 Subject: [PATCH] Add rsync (#12) --- Dockerfile | 13 +++++++------ native.Dockerfile | 16 +++++++++------- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3d36432..c0f4ecc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,20 +1,20 @@ FROM --platform=$BUILDPLATFORM alpine:3 AS build-env RUN apk add --update --no-cache \ + automake \ + autoconf \ bash \ + bison \ curl \ eudev-dev \ + flex \ gcc \ git \ libc-dev \ + libtool \ linux-headers \ make \ - wget \ - bison \ - flex \ - automake \ - autoconf \ - libtool + wget ARG TARGETARCH ARG BUILDARCH @@ -66,6 +66,7 @@ RUN apk add --no-cache \ lz4 \ nano \ npm \ + rsync \ wget \ zstd-dev diff --git a/native.Dockerfile b/native.Dockerfile index d56da02..e5f6795 100644 --- a/native.Dockerfile +++ b/native.Dockerfile @@ -1,20 +1,20 @@ FROM alpine:3 AS build-env RUN apk add --update --no-cache \ + automake \ + autoconf \ bash \ + bison \ curl \ eudev-dev \ + flex \ gcc \ git \ libc-dev \ + libtool \ linux-headers \ make \ - wget \ - bison \ - flex \ - automake \ - autoconf \ - libtool + wget # Build minimal busybox WORKDIR / @@ -41,7 +41,9 @@ RUN apk add --no-cache \ lz4 \ nano \ npm \ - wget + rsync \ + wget \ + zstd-dev # Install busybox COPY --from=build-env /busybox/busybox /busybox/busybox