Skip to content

versions and target arch in dockerfile #2

@ranakan19

Description

@ranakan19
ARG KUBECONFORM_VERSION=0.6.4
ARG PLUTO_VERSION=5.19.4
ARG KUBE_LINTER_VERSION=0.6.8
ARG TARGETARCH=amd64

listed in Dockerfile. Any particular reason for using these versions?
kube-linter v0.6.8 is more than 2 years ago.

Also failing to curl:

STEP 9/20: RUN curl -sL https://github.com/stackrox/kube-linter/releases/download/v${KUBE_LINTER_VERSION}/kube-linter-linux_${TARGETARCH}.tar.gz     | tar xz -C /usr/local/bin

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
error: build error: building at STEP "RUN curl -sL https://github.com/stackrox/kube-linter/releases/download/v${KUBE_LINTER_VERSION}/kube-linter-linux_${TARGETARCH}.tar.gz     | tar xz -C /usr/local/bin": while running runtime: exit status 2
➜  gitops-manifest-validator git:(main) curl -sL https://github.com/stackrox/kube-linter/releases/download/v0.6.8/kube-linter-linux_amd64.tar.gz     
Not Found%                                                               

no release kube-linter-linux_amd64.tar.gz in here https://github.com/stackrox/kube-linter/releases?expanded=true&page=2&q=v0.6.8
Dockerfile needs to be updated to:
RUN curl -sL https://github.com/stackrox/kube-linter/releases/download/v${KUBE_LINTER_VERSION}/kube-linter-linux.tar.gz | tar xz -C /usr/local/bin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions