From 0be71d58a79b66bb7aae8d86c9fc76e041ecb4a0 Mon Sep 17 00:00:00 2001 From: Ramon Lucas Date: Wed, 7 Apr 2021 13:06:37 -0300 Subject: [PATCH] I have to set permission on /tmp/fetch_binaries.sh Before that I was receiving the error: => ERROR [fetcher 4/4] RUN /tmp/fetch_binaries.sh 0.9s ------ > [fetcher 4/4] RUN /tmp/fetch_binaries.sh: #13 0.784 /bin/sh: 1: /tmp/fetch_binaries.sh: Permission denied --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5166d71..3110c8c 100755 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,8 @@ RUN apt-get update && apt-get install -y \ curl \ wget +RUN ["chmod", "+x", "/tmp/fetch_binaries.sh"] + RUN /tmp/fetch_binaries.sh FROM alpine:3.13