Docker image arch linux/arm/v7 added

This commit is contained in:
Paramtamtam
2021-03-23 15:08:46 +05:00
parent ce90d6dc89
commit 8c5b04a0df
3 changed files with 21 additions and 10 deletions

View File

@@ -1,5 +1,7 @@
# syntax=docker/dockerfile:1.2
# Image page: <https://hub.docker.com/_/gcc>
FROM gcc:10.2.0 as builder
FROM --platform=${TARGETPLATFORM:-linux/amd64} gcc:10.2.0 as builder
# e.g.: `docker build --build-arg "VERSION=0.9.3" .`
ARG VERSION="0.9.3"
@@ -34,7 +36,7 @@ RUN set -x \
&& strip ./bin/SSLPlugin.ld.so
# Prepare filesystem for 3proxy running
FROM busybox:1.32-glibc as buffer
FROM --platform=${TARGETPLATFORM:-linux/amd64} busybox:1.32-glibc as buffer
# Copy binaries
COPY --from=builder /lib/x86_64-linux-gnu/libdl.so.* /lib/