mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-11 01:41:54 -04:00
fix glibc-dns-testing image build
This commit is contained in:
parent
44d969be23
commit
cbcdbcf903
1 changed files with 3 additions and 1 deletions
|
|
@ -27,10 +27,12 @@
|
|||
ARG BASEIMAGE
|
||||
FROM $BASEIMAGE
|
||||
|
||||
ARG TARGETARCH
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y dnsutils && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ADD https://github.com/coredns/coredns/releases/download/v1.5.0/coredns_1.5.0_linux_BASEARCH.tgz /coredns.tgz
|
||||
ADD https://github.com/coredns/coredns/releases/download/v1.5.0/coredns_1.5.0_linux_${TARGETARCH}.tgz /coredns.tgz
|
||||
RUN tar -xzvf /coredns.tgz && rm -f /coredns.tgz
|
||||
|
|
|
|||
Loading…
Reference in a new issue