pipeline-container/complete/Dockerfile_podman
franz.germann1 a4c756ce17
Some checks failed
/ build-go (push) Failing after 19s
/ build-kaniko (push) Failing after 35s
/ build-complete (push) Failing after 34s
/ build-golang-ci-lint (push) Has been cancelled
/ build-trivy (push) Has been cancelled
updates complete dockerfile
2024-12-16 11:44:41 +01:00

21 lines
No EOL
533 B
Text

FROM --platform=linux/amd64 golang:1.23-alpine AS golang
FROM --platform=linux/amd64 mgoltzsche/podman:5.3.1
# go
COPY --from=golang /usr/local/go/ /usr/local/go/
ENV PATH="/usr/local/go/bin:${PATH}"
RUN apk add sudo curl
# linting
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.61.0
# trivy
RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/bin latest
RUN ls -la /usr/bin
# ko
# git
RUN apk add --no-cache git