From 4dce72743f72fabce3a84bea653af03963b020ea Mon Sep 17 00:00:00 2001 From: Michele Porelli Date: Sun, 11 Aug 2024 10:41:34 -0700 Subject: [PATCH] fix(build) explict execute permissions on db_init script --- syncstorage-rs/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncstorage-rs/Dockerfile b/syncstorage-rs/Dockerfile index 1d9cce7..38c5c17 100644 --- a/syncstorage-rs/Dockerfile +++ b/syncstorage-rs/Dockerfile @@ -31,7 +31,7 @@ RUN mkdir -p -m 0700 /var/lib/apt/lists/partial && \ apt-get install -y default-mysql-client && \ rm -rf /var/lib/apt/lists/* -COPY db_init.sh /db_init.sh +COPY --chmod=0755 db_init.sh /db_init.sh # Switch back to the original user and group RUN export ORIGINAL_USER=$(cat /tmp/userinfo/original_uid) && \