File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 11# Build the manager binary
2- FROM golang:1.14 as builder
2+ FROM golang:1.15 as builder
33
44# # GOLANG env
5- ARG GOPROXY="https://proxy.golang.org, direct"
5+ ARG GOPROXY="https://proxy.golang.org| direct"
66ARG GO111MODULE="on"
77ARG CGO_ENABLED=0
88ARG GOOS=linux
Original file line number Diff line number Diff line change @@ -22,8 +22,7 @@ repo-full-name:
2222 @echo ${REPO_FULL_NAME}
2323
2424compile :
25- @echo ${MAKEFILE_PATH}
26- go build -a -ldflags " -X main.versionID=${VERSION} -X ${SELECTOR_PKG_VERSION_VAR} =${VERSION} " -tags=" aeis${GOOS} " -o ${BUILD_DIR_PATH} /${BIN} ${MAKEFILE_PATH} /cmd/main.go
25+ go build -a -ldflags " -s -w -X main.versionID=${VERSION} -X ${SELECTOR_PKG_VERSION_VAR} =${VERSION} " -tags=" aeis${GOOS} " -o ${BUILD_DIR_PATH} /${BIN} ${MAKEFILE_PATH} /cmd/main.go
2726
2827clean :
2928 rm -rf ${BUILD_DIR_PATH} / && go clean -testcache ./...
@@ -110,5 +109,4 @@ release: build-binaries build-docker-images push-docker-images upload-resources-
110109test : spellcheck shellcheck unit-test license-test go-report-card-test e2e-test output-validation-test readme-codeblock-test
111110
112111help :
113- @echo $(CURDIR )
114112 @grep -E ' ^[a-zA-Z_-]+:.*$$' $(MAKEFILE_LIST ) | sort
Original file line number Diff line number Diff line change 33<h4 >A CLI tool and go library which recommends instance types based on resource criteria like vcpus and memory.</h4 >
44
55<p >
6- <a href =" https://golang.org/doc/go1.14 " >
6+ <a href =" https://golang.org/doc/go1.15 " >
77 <img src="https://img.shields.io/github/go-mod/go-version/aws/amazon-ec2-instance-selector?color=blueviolet" alt="go-version">
88 </a >
99 <a href =" https://opensource.org/licenses/Apache-2.0 " >
Original file line number Diff line number Diff line change 11module github.com/aws/amazon-ec2-instance-selector/v2
22
3- go 1.14
3+ go 1.15
44
55require (
66 github.com/aws/aws-sdk-go v1.31.12
You can’t perform that action at this time.
0 commit comments