From e090621c3b65018b41bea433f0b0189aac8a7f49 Mon Sep 17 00:00:00 2001 From: Matteo Pietro Dazzi Date: Sun, 22 Feb 2026 19:12:49 +0100 Subject: [PATCH] fix: permissions --- Dockerfile | 2 +- Dockerfile.goreleaser | 2 +- docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index fdf8d6c99..ff83da33e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ COPY --from=builder /src/build/picoclaw /usr/local/bin/picoclaw # Copy container init scripts -COPY container/* /usr/local/bin/ +COPY --chmod=0755 container/* /usr/local/bin/ # Create non-root user and group RUN addgroup -g 1000 picoclaw && \ diff --git a/Dockerfile.goreleaser b/Dockerfile.goreleaser index 052513e1a..6adcef1aa 100644 --- a/Dockerfile.goreleaser +++ b/Dockerfile.goreleaser @@ -5,7 +5,7 @@ ARG TARGETPLATFORM RUN apk add --no-cache ca-certificates tzdata COPY $TARGETPLATFORM/picoclaw /usr/local/bin/picoclaw -COPY container/* /usr/local/bin/ +COPY --chmod=0755 container/* /usr/local/bin/ ENTRYPOINT ["entrypoint"] CMD ["gateway"] diff --git a/docker-compose.yml b/docker-compose.yml index 906f3e65f..fd2595f41 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,7 +23,7 @@ services: configs: - source: init_script target: /usr/local/bin/init - mode: 0777 + mode: 0755 entrypoint: ["picoclaw", "agent"] stdin_open: true tty: true