-
Notifications
You must be signed in to change notification settings - Fork 808
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update golang to 1.14.4 and other build deps (#2480)
* Update golang to 1.14.2 and other build deps Checked to see that there are no breaking changes Signed-off-by: Goutham Veeramachaneni <[email protected]> * Update the build-image image Signed-off-by: Goutham Veeramachaneni <[email protected]> * Make lint happy Signed-off-by: Goutham Veeramachaneni <[email protected]> * Upgrade nodejs as well Signed-off-by: Goutham Veeramachaneni <[email protected]> * Update the image with node upgrade Signed-off-by: Goutham Veeramachaneni <[email protected]> * Make lint happy Signed-off-by: Goutham Veeramachaneni <[email protected]> * Update bbolt and build-image Signed-off-by: Goutham Veeramachaneni <[email protected]> * Clean up vendor Signed-off-by: Goutham Veeramachaneni <[email protected]> * Bump to 1.14.4 Signed-off-by: Goutham Veeramachaneni <[email protected]> * Update to golang 14.4 Signed-off-by: Goutham Veeramachaneni <[email protected]> * Update to even newer deps Signed-off-by: Goutham Veeramachaneni <[email protected]> * Update circle config Signed-off-by: Goutham Veeramachaneni <[email protected]> * Remove mod vendor from Makefile Not required anymore Signed-off-by: Goutham Veeramachaneni <[email protected]> * Upgrade to Node 14 Signed-off-by: Goutham Veeramachaneni <[email protected]> * Update circle config Signed-off-by: Goutham Veeramachaneni <[email protected]>
- Loading branch information
Showing
18 changed files
with
167 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
FROM golang:1.13.3-stretch | ||
FROM golang:1.14.4-stretch | ||
RUN apt-get update && apt-get install -y curl python-requests python-yaml file jq unzip protobuf-compiler libprotobuf-dev && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
RUN curl -sL https://deb.nodesource.com/setup_6.x | sh - | ||
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - | ||
RUN apt-get install -y nodejs npm && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
RUN npm install -g postcss-cli autoprefixer | ||
ENV HUGO_VERSION=v0.59.1 | ||
ENV HUGO_VERSION=v0.72.0 | ||
RUN git clone https://github.com/gohugoio/hugo.git --branch ${HUGO_VERSION} --depth 1 && \ | ||
cd hugo && go install --tags extended && cd ../ && \ | ||
rm -rf hugo/ && rm -rf /go/pkg /go/src | ||
RUN curl -fsSLo shfmt https://github.com/mvdan/sh/releases/download/v1.3.0/shfmt_v1.3.0_linux_amd64 && \ | ||
echo "b1925c2c405458811f0c227266402cf1868b4de529f114722c2e3a5af4ac7bb2 shfmt" | sha256sum -c && \ | ||
ENV SHFMT_VERSION=3.1.0 | ||
RUN curl -fsSLo shfmt https://github.com/mvdan/sh/releases/download/v${SHFMT_VERSION}/shfmt_v${SHFMT_VERSION}_linux_amd64 && \ | ||
echo "cb91ea08a075a2f96b5230f09b4e211b7c108b1c97603caceb48d117d2ac5508 shfmt" | sha256sum -c && \ | ||
chmod +x shfmt && \ | ||
mv shfmt /usr/bin | ||
RUN curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b /usr/bin v1.21.0 | ||
RUN curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b /usr/bin v1.27.0 | ||
RUN GO111MODULE=on go get -tags netgo \ | ||
github.com/client9/misspell/cmd/[email protected] \ | ||
github.com/golang/protobuf/[email protected] \ | ||
github.com/gogo/protobuf/[email protected] \ | ||
github.com/gogo/protobuf/[email protected] && \ | ||
rm -rf /go/pkg /go/src | ||
|
||
ENV KUBEVAL_VERSION=0.14.0 | ||
ENV KUBEVAL_VERSION=0.15.0 | ||
RUN curl -Ls https://github.com/instrumenta/kubeval/releases/download/${KUBEVAL_VERSION}/kubeval-linux-amd64.tar.gz -o /tmp/kubeval-linux-amd64.tar.gz && \ | ||
tar -xf /tmp/kubeval-linux-amd64.tar.gz -C /tmp && \ | ||
cp /tmp/kubeval /usr/local/bin && \ | ||
|
@@ -32,7 +33,7 @@ ENV GOCACHE=/go/cache | |
ENTRYPOINT ["/build.sh"] | ||
|
||
# Install faillint used to lint go imports in CI. | ||
ENV FAILLINT_VERSION=1.2.0 | ||
ENV FAILLINT_VERSION=1.5.0 | ||
RUN GO111MODULE=on go get github.com/fatih/faillint@v${FAILLINT_VERSION} && \ | ||
rm -rf /go/pkg /go/src | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.