From 712422fc58b87aa1782220151ba33c057e4313e5 Mon Sep 17 00:00:00 2001 From: Luca Steeb Date: Fri, 1 Nov 2024 17:36:18 +0000 Subject: [PATCH] ci(docker): streamline file permissions handling (#2604) --- Dockerfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7fa88ebd24..a3334f2cce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,12 +26,6 @@ LABEL description="Dojo is a provable game engine and toolchain for building onc source="https://github.com/dojoengine/dojo" \ documentation="https://book.dojoengine.org/" -COPY --from=artifacts $TARGETPLATFORM/katana /usr/local/bin/katana -COPY --from=artifacts $TARGETPLATFORM/sozo /usr/local/bin/sozo -COPY --from=artifacts $TARGETPLATFORM/torii /usr/local/bin/torii +COPY --from=artifacts --chmod=755 $TARGETPLATFORM/katana $TARGETPLATFORM/sozo $TARGETPLATFORM/torii /usr/local/bin/ COPY --from=builder /usr/local/bin/curtail /usr/local/bin/curtail - -RUN chmod +x /usr/local/bin/katana \ - && chmod +x /usr/local/bin/sozo \ - && chmod +x /usr/local/bin/torii