Skip to content

Commit

Permalink
πŸ› try fix buildx permission denied
Browse files Browse the repository at this point in the history
  • Loading branch information
oasaph committed Jul 19, 2024
1 parent ebe28f8 commit a9d9646
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}/
Expand Down

0 comments on commit a9d9646

Please sign in to comment.