Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.cross
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM golang:1.8.1
FROM golang:1.8.3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see the Dockerfile.dev floats the golang version to latest patch of 1.8. I'd suggest floating the version in Dockerfile.cross as well so they match, .e.g. FROM golang:1.8

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure; we've had cases where a patch release brought a specific fix, using a rolling update would make it undeterministic

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then I'd suggest making sure all Dockerfiles are locked into a specific golang version. The 3 files in dockerfiles dir.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that would be my personal preference

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated the other two Dockerfiles as well to use golang 1.8.3


# allow replacing httpredir or deb mirror
ARG APT_MIRROR=deb.debian.org
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

FROM golang:1.8-alpine
FROM golang:1.8.3-alpine

RUN apk add -U git make bash coreutils

Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/Dockerfile.lint
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.8-alpine
FROM golang:1.8.3-alpine

RUN apk add -U git

Expand Down