mirror of
https://github.com/coredns/coredns.git
synced 2025-10-26 15:54:16 -04:00
The fix in 4b9bc138d9 breaks docker with
~~~
Step 2/9 : RUN sed -i.bak s@stable/update@stable-security/update@g /etc/apt/sources.list
---> Running in 29a0dbae5746
no status provided on response: unknown
~~~
So reverted here. This adds github workflows to test Makefile.docker
syntax as well. And small updates to the docker-coredns over in the
release repo.
Signed-off-by: Miek Gieben <miek@miek.nl>
13 lines
254 B
Docker
13 lines
254 B
Docker
FROM debian:stable-slim
|
|
|
|
RUN apt-get update && apt-get -uy upgrade
|
|
RUN apt-get -y install ca-certificates && update-ca-certificates
|
|
|
|
FROM scratch
|
|
|
|
COPY --from=0 /etc/ssl/certs /etc/ssl/certs
|
|
ADD coredns /coredns
|
|
|
|
EXPOSE 53 53/udp
|
|
ENTRYPOINT ["/coredns"]
|