Adding Proper Comment In dockerfile (#1943)
This commit is contained in:
parent
94a376adc5
commit
3a2d8c22e3
1 changed files with 4 additions and 0 deletions
|
@ -1,7 +1,11 @@
|
|||
# Use the distroless/cc:latest image as the base image
|
||||
FROM gcr.io/distroless/cc:latest
|
||||
|
||||
# Declare a build-time argument for the target architecture
|
||||
ARG TARGETARCH
|
||||
|
||||
# Add the binary file 'surreal' from the specified path on the host machine to the root directory in the container
|
||||
ADD $TARGETARCH/surreal /
|
||||
|
||||
# Set the entry point for the container to be the 'surreal' binary
|
||||
ENTRYPOINT ["/surreal"]
|
||||
|
|
Loading…
Reference in a new issue