Skip to content

Commit dec7933

Browse files
authored
Merge pull request #2539 from Permify/update-dockerfile-commands
style(docker): fix casing in Dockerfile stages and clean up comments
2 parents 559fc24 + 8a4bc5e commit dec7933

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
22
WORKDIR /go/src/app
33
RUN apk update && apk add --no-cache git
44
COPY . .
@@ -17,5 +17,5 @@ FROM cgr.dev/chainguard/static:latest@sha256:b2e1c3d3627093e54f6805823e73edd17ab
1717
COPY --from=health-probe-builder /go/bin/grpc-health-probe /usr/local/bin/grpc_health_probe
1818
COPY --from=permify-builder /go/src/app/permify /usr/local/bin/permify
1919
ENV 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"]

Dockerfile.release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ FROM $BASE
1414
COPY --from=health-probe-builder /go/bin/grpc-health-probe /usr/local/bin/grpc_health_probe
1515
COPY permify /usr/local/bin/permify
1616
ENTRYPOINT ["permify"]
17-
CMD ["serve"] # Default command to start the server
17+
CMD ["serve"]

integration-test/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
33
COPY go.mod go.sum /modules/
44
WORKDIR /modules
55
RUN go mod download

0 commit comments

Comments
 (0)