mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 08:14:18 -04:00
Workaround for incorrect architecture (#5691)
Signed-off-by: Dreista <Dreista@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6cb5e10707
commit
c6fa91b367
@@ -1,4 +1,4 @@
|
||||
FROM debian:stable-slim
|
||||
FROM --platform=$BUILDPLATFORM debian:stable-slim
|
||||
SHELL [ "/bin/sh", "-ec" ]
|
||||
|
||||
RUN export DEBCONF_NONINTERACTIVE_SEEN=true \
|
||||
@@ -10,7 +10,7 @@ RUN export DEBCONF_NONINTERACTIVE_SEEN=true \
|
||||
apt-get -yyqq install ca-certificates ; \
|
||||
apt-get clean
|
||||
|
||||
FROM scratch
|
||||
FROM --platform=$TARGETPLATFORM scratch
|
||||
|
||||
COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
|
||||
ADD coredns /coredns
|
||||
|
||||
Reference in New Issue
Block a user