Skip to content

Commit

Permalink
πŸ› fix heredoc
Browse files Browse the repository at this point in the history
  • Loading branch information
oasaph committed Jul 19, 2024
1 parent 9118c41 commit 1c5feb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG USERNAME=asaphdiniz
ARG SHELL=zsh
ARG TZ="America/Sao_Paulo"

RUN <<EOR bash
RUN <<EOT bash
#!/bin/bash
DISTRO=$(. /etc/os-release && echo "$NAME")
USERNAME=$1
Expand All @@ -26,7 +26,7 @@ adduser "${USERNAME}" sudo
echo '%sudo ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers

printf "[user]\ndefault=%s\n" "${USERNAME}" >>/etc/wsl.conf
EOR
EOT

USER ${USERNAME}
WORKDIR /home/${USERNAME}/
Expand Down

0 comments on commit 1c5feb5

Please sign in to comment.