Files
web/dns/Dockerfile.dev
2023-11-09 13:59:15 -08:00

13 lines
327 B
Docker

# CoreDNS base image
ARG ALPINE_VERSION=3.18
ARG GO_VERSION=1.21.3
ARG COREDNS_VERSION=v1.11.1
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS builder
RUN apk add -q --progress --update --no-cache git ca-certificates libcap2-bin
ENV GO111MODULE=on \
CGO_ENABLED=0
go install github.com/coredns/coredns/tree/v1.11.1