build image for arm architectures

This commit is contained in:
Frederik Ring
2021-07-01 08:18:04 +02:00
parent 5be3c36040
commit 23c287bfc7
4 changed files with 47 additions and 19 deletions

View File

@@ -6,9 +6,11 @@ FROM alpine:3.14
WORKDIR /root
RUN apk add --update ca-certificates docker openrc gnupg
RUN update-ca-certificates
RUN rc-update add docker boot
RUN wget https://dl.min.io/client/mc/release/linux-amd64/mc && \
ARG TARGETARCH=amd64
RUN wget https://dl.min.io/client/mc/release/linux-$TARGETARCH/mc && \
chmod +x mc && \
mv mc /usr/bin/mc