diff --git a/complete/Dockerfile b/complete/Dockerfile index fb78a5a..7bfd709 100644 --- a/complete/Dockerfile +++ b/complete/Dockerfile @@ -7,7 +7,11 @@ RUN apk add sudo curl 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 | sudo sh -s -- -b /usr/bin latest +RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b /usr/bin latest +RUN ls -la /usr/bin + +# podman +RUN apk add podman # git RUN apk add --no-cache git diff --git a/complete/Dockerfile_podman b/complete/Dockerfile_podman new file mode 100644 index 0000000..96727c6 --- /dev/null +++ b/complete/Dockerfile_podman @@ -0,0 +1,21 @@ +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 \ No newline at end of file