Skip to content

Commit

Permalink
Add rsync (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin authored Aug 8, 2024
1 parent 439d352 commit 7fc2c67
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
13 changes: 7 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -66,6 +66,7 @@ RUN apk add --no-cache \
lz4 \
nano \
npm \
rsync \
wget \
zstd-dev

Expand Down
16 changes: 9 additions & 7 deletions native.Dockerfile
Original file line number Diff line number Diff line change
@@ -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 /
Expand All @@ -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
Expand Down

0 comments on commit 7fc2c67

Please sign in to comment.