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