mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 02:53:51 +00:00
13 lines
327 B
Docker
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
|