forked from tektoncd/plumbing
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update language and tools in Dockerfile
- go 1.18.3 to 1.18.5 - ko to 0.12.0 - kustomize to 4.5.7 - some alpine and kubectl bumps Signed-off-by: Vincent Demeester <[email protected]>
- Loading branch information
1 parent
fe5dd9c
commit 57f4788
Showing
7 changed files
with
18 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,12 +12,12 @@ | |
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
FROM golang:1.18.3 as buildcoverage | ||
FROM golang:1.18.5 as buildcoverage | ||
RUN git clone https://github.com/knative/test-infra /go/src/knative.dev/test-infra | ||
RUN git -C /go/src/knative.dev/test-infra checkout ba4c2c3e061a59ac4b167da84924e9fa55475ad9 # Last commit before removal of tools/coverage | ||
RUN make -C /go/src/knative.dev/test-infra/tools/coverage | ||
|
||
FROM golang:1.18.3 | ||
FROM golang:1.18.5 | ||
LABEL maintainer "Tekton Authors <[email protected]>" | ||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
|
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 |
---|---|---|
|
@@ -14,12 +14,12 @@ | |
|
||
# Runtime image for common dependencies when running kind tests. | ||
|
||
FROM golang:1.18.3-alpine | ||
FROM golang:1.18.5-alpine | ||
LABEL maintainer "Tekton Authors <[email protected]>" | ||
|
||
WORKDIR /kind | ||
|
||
RUN GO111MODULE=on go install github.com/google/ko@v0.11.2 | ||
RUN GO111MODULE=on go install github.com/google/ko@v0.12.0 | ||
|
||
# common util tools | ||
RUN apk add --no-cache \ | ||
|
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 |
---|---|---|
|
@@ -11,20 +11,20 @@ | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
ARG GO_VERSION=1.18.3 | ||
ARG GO_VERSION=1.18.5 | ||
FROM golang:${GO_VERSION}-alpine3.15 as build | ||
LABEL description="Build container" | ||
|
||
RUN apk update && apk add --no-cache alpine-sdk ca-certificates | ||
RUN update-ca-certificates | ||
|
||
ARG KUBECTL_VERSION=1.21.10 | ||
ARG KUBECTL_VERSION=1.22.13 | ||
RUN wget -O/usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl; chmod +x /usr/local/bin/kubectl | ||
|
||
# Install Kustomize | ||
ENV GOBIN=/usr/local/go/bin | ||
ENV GO111MODULE on | ||
RUN go install sigs.k8s.io/kustomize/kustomize/[email protected].4 | ||
RUN go install sigs.k8s.io/kustomize/kustomize/[email protected].7 | ||
|
||
# Install yq for YAML parsing | ||
RUN apk add --no-cache yq | ||
|
@@ -40,7 +40,7 @@ ENV PATH="${PATH}:/usr/local/go/bin" | |
ENV GOROOT /usr/local/go | ||
|
||
# Install ko | ||
ARG KO_VERSION=0.11.2 | ||
ARG KO_VERSION=0.12.0 | ||
RUN curl -L https://github.com/google/ko/releases/download/v${KO_VERSION}/ko_${KO_VERSION}_Linux_x86_64.tar.gz > ko_${KO_VERSION}.tar.gz | ||
RUN tar -C /usr/local/bin -xzf ko_${KO_VERSION}.tar.gz | ||
|
||
|
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 |
---|---|---|
|
@@ -11,17 +11,17 @@ | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
FROM golang:1.18.3-alpine3.15 | ||
FROM golang:1.18.5-alpine3.15 | ||
LABEL maintainer "Tekton Authors <[email protected]>" | ||
|
||
ENV GOROOT /usr/local/go | ||
RUN apk add --no-cache curl ca-certificates | ||
RUN update-ca-certificates | ||
|
||
ARG KO_VERSION=0.11.2 | ||
ARG KO_VERSION=0.12.0 | ||
RUN curl -L https://github.com/google/ko/releases/download/v${KO_VERSION}/ko_${KO_VERSION}_Linux_x86_64.tar.gz > ko_${KO_VERSION}.tar.gz | ||
RUN tar -C /usr/local/bin -xzf ko_${KO_VERSION}.tar.gz | ||
|
||
RUN apk add --no-cache musl-dev gcc git | ||
ENV GO111MODULE on | ||
RUN go install sigs.k8s.io/kustomize/kustomize/[email protected].4 | ||
RUN go install sigs.k8s.io/kustomize/kustomize/[email protected].7 |
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
FROM alpine:3.11 | ||
FROM alpine:3.15 | ||
LABEL maintainer "Tekton Authors <[email protected]>" | ||
|
||
ARG TKN_VERSION=0.25.0 | ||
|