Skip to content

Commit 6e0ad6f

Browse files
committed
fix: move user to after yarn setup
1 parent 345ebda commit 6e0ad6f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.devcontainer/setup.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ apt-get install -y \
55
jq \
66
zsh
77

8-
useradd -m developer
9-
su developer
10-
118
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
129
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
1310
apt-get install yarn -y --no-install-recommends
1411

12+
useradd -m developer
13+
su developer
14+
1515
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
1616
cp -R /root/.oh-my-zsh /home/$USERNAME
1717
cp /root/.zshrc /home/$USERNAME

0 commit comments

Comments
 (0)