knox / Distroless-11.sh
0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv
1 | $ docker run --entrypoint=sh -ti my_debug_image |
2 | |
3 | /app # ls |
4 | BUILD Dockerfile hello.py |
knox / Distroless-10.sh
0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv
1 | $ docker build -t my_debug_image . |
knox / Distroless-9.Dockerfile
0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv
1 | FROM gcr.io/distroless/python3-debian12:debug |
2 | COPY . /app |
3 | WORKDIR /app |
4 | CMD ["hello.py", "/etc"] |
knox / Distroless-8.sh
0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv
1 | cd examples/python3/ |
knox / Distroless-7.sh
0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv
1 | npm install # Install express and its transitive dependencies |
2 | docker build -t myexpressapp . # Normal build command |
3 | docker run -p 3000:3000 -t myexpressapp |
knox / Distroless-6.sh
0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv
1 | docker build -t myapp . |
2 | docker run -t myapp |
knox / Distroless-5.dockerfile
0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv
1 | # Start by building the application. |
2 | FROM golang:1.18 as build |
3 | |
4 | WORKDIR /go/src/app |
5 | COPY . . |
6 | |
7 | RUN go mod download |
8 | RUN CGO_ENABLED=0 go build -o /go/bin/app |
9 | |
10 | # Now copy it into our base image. |
knox / Distroless-4.sh
0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv
1 | ENTRYPOINT "myapp" |
knox / Distroless-3.sh
0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv
1 | ENTRYPOINT ["myapp"] |
knox / Distroless-2.sh
0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv
1 | cosign verify $IMAGE_NAME --certificate-oidc-issuer https://accounts.google.com --certificate-identity keyless@distroless.iam.gserviceaccount.com |
Neuer
Älter