Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Commit

Permalink
golang: default to 1.16 on alpine 3.12 (#32)
Browse files Browse the repository at this point in the history
Side-step a number of issues specific to the way we build with docker in drone.

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
  • Loading branch information
dweomer authored Mar 23, 2021
1 parent b23c05d commit 6dd289a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GOLANG=golang:1.16-alpine
ARG GOLANG=golang:1.16-alpine3.12
FROM ${GOLANG} AS base
RUN set -x \
&& apk --no-cache add \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ GO_LDFLAGS += -X $(PKG)/pkg/version.Version=$(TAG)
GO_LDFLAGS += -X $(PKG)/pkg/server.DefaultAgentImage=docker.io/$(ORG)/kim

GO ?= go
GOLANG ?= docker.io/library/golang:1.15-alpine
GOLANG ?= golang:1.16-alpine3.12

BIN ?= bin/kim
ifeq ($(GOOS),windows)
Expand Down

0 comments on commit 6dd289a

Please sign in to comment.