Skip to content

Commit

Permalink
Merge pull request #34 from contentful-labs/go-1.16
Browse files Browse the repository at this point in the history
Update Go to 1.16
  • Loading branch information
yannh authored Jun 1, 2021
2 parents d2e05fc + 1e1bf2f commit b1adfcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.15-buster AS builder
FROM golang:1.16-buster AS builder

RUN apt update && apt upgrade -y && apt install iptables -y

Expand All @@ -13,6 +13,7 @@ RUN mkdir -p plugin/nodecache
RUN echo 'nodecache:nodecache' >> /coredns/plugin.cfg

COPY *.go /coredns/plugin/nodecache/
RUN go get github.com/coreos/go-iptables@f901d6c2a4f2a4df092b98c33366dfba1f93d7a0 github.com/vishvananda/netlink@f049be6f391489d3f374498fe0c8df8449258372
RUN make
RUN chmod 0755 /coredns/coredns

Expand Down

0 comments on commit b1adfcf

Please sign in to comment.