We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 586cc7f commit 93b058cCopy full SHA for 93b058c
1 file changed
Dockerfile
@@ -17,11 +17,8 @@ RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o update-controller
17
# Runtime stage - use TF2 image as base for SteamCMD
18
FROM ghcr.io/udl-tf/tf2-image:latest
19
20
-# Copy the controller binary from builder
21
-COPY --from=builder /build/update-controller /usr/local/bin/update-controller
22
-
23
-# Set permissions
24
-RUN chmod +x /usr/local/bin/update-controller
+# Copy the controller binary from builder with executable permissions
+COPY --from=builder --chmod=755 /build/update-controller /usr/local/bin/update-controller
25
26
USER ${USER}
27
0 commit comments