File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- FROM golang:1.25.1-alpine3.22@sha256:b6ed3fd0452c0e9bcdef5597f29cc1418f61672e9d3a2f55bf02e7222c014abd as permify-builder
1+ FROM golang:1.25.1-alpine3.22@sha256:b6ed3fd0452c0e9bcdef5597f29cc1418f61672e9d3a2f55bf02e7222c014abd AS permify-builder
22WORKDIR /go/src/app
33RUN apk update && apk add --no-cache git
44COPY . .
@@ -17,5 +17,5 @@ FROM cgr.dev/chainguard/static:latest@sha256:b2e1c3d3627093e54f6805823e73edd17ab
1717COPY --from=health-probe-builder /go/bin/grpc-health-probe /usr/local/bin/grpc_health_probe
1818COPY --from=permify-builder /go/src/app/permify /usr/local/bin/permify
1919ENV PATH="$PATH:/usr/local/bin"
20- ENTRYPOINT ["permify" ] # Entrypoint for the container
21- CMD ["serve" ] # Default command to start the server
20+ ENTRYPOINT ["permify" ]
21+ CMD ["serve" ]
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ FROM $BASE
1414COPY --from=health-probe-builder /go/bin/grpc-health-probe /usr/local/bin/grpc_health_probe
1515COPY permify /usr/local/bin/permify
1616ENTRYPOINT ["permify"]
17- CMD ["serve"] # Default command to start the server
17+ CMD ["serve"]
Original file line number Diff line number Diff line change 11# Step 1: Modules caching
2- FROM golang:1.25.2-alpine@sha256:182059d7dae0e1dfe222037d14b586ebece3ebf9a873a0fe1cc32e53dbea04e0 as modules
2+ FROM golang:1.25.2-alpine@sha256:182059d7dae0e1dfe222037d14b586ebece3ebf9a873a0fe1cc32e53dbea04e0 AS modules
33COPY go.mod go.sum /modules/
44WORKDIR /modules
55RUN go mod download
You can’t perform that action at this time.
0 commit comments