Skip to content

Commit e8366cc

Browse files
committed
Adding docker file
1 parent 8d9c9ef commit e8366cc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cmd/gcrane/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Use a minimal base image from an approved source
2+
FROM us-docker.pkg.dev/gke-release/distroless/static:nonroot
3+
4+
# Copy the built gcrane binary from the build context
5+
COPY gcrane /usr/local/bin/gcrane
6+
7+
# Set the entrypoint
8+
ENTRYPOINT ["/usr/local/bin/gcrane"]

0 commit comments

Comments
 (0)