From a9d964605b35c5b71e2596696ba2b21f577249b6 Mon Sep 17 00:00:00 2001 From: asaph96 Date: Fri, 19 Jul 2024 15:45:27 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20try=20fix=20buildx=20permission?= =?UTF-8?q?=20denied?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bfcc971..bed67b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,9 @@ ARG USERNAME=asaphdiniz ARG SHELL=zsh ARG TZ="America/Sao_Paulo" -COPY ./scripts/setup_user.sh /tmp/setup/setup_user.sh -RUN /tmp/setup/setup_user.sh ${USERNAME} +COPY ./scripts/setup_user.sh ~/setup/setup_user.sh +RUN ~/setup/setup_user.sh ${USERNAME} +RUN rm ~/setup/setup_user.sh USER ${USERNAME} WORKDIR /home/${USERNAME}/