Skip to content

Commit

Permalink
[BOPS-493] Updates go 1.15 -> 1.16 for arm64 support (#1)
Browse files Browse the repository at this point in the history
Ported from PR 59 in the canonical repo.
  • Loading branch information
chrishulton authored Feb 3, 2022
1 parent 79f5109 commit 28b70b3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM golang:1.15 as builder
FROM golang:1.16 as builder
WORKDIR /go/src/github.com/codekitchen/dinghy-http-proxy
COPY join-networks.go .
COPY go.mod .
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go get -v github.com/fsouza/go-dockerclient
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -v -o join-networks

Expand Down
7 changes: 7 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module github.com/codekitchen/dinghy-http-proxy

go 1.16

require (
github.com/fsouza/go-dockerclient v1.7.4
)

0 comments on commit 28b70b3

Please sign in to comment.