File tree Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -19,24 +19,29 @@ RUN /bin/sh -c echo '[multilib]' >> /etc/pacman.conf && \
19
19
cd yay && \
20
20
sudo -u aur makepkg --noconfirm -si
21
21
22
- RUN sudo -u aur yay -S --needed --noconfirm zsh easy-zsh-config
23
-
24
- RUN sed -i -r "s/^(PATH_OF_THE_THEME=).*/\1\/ usr\/ share\/ oh-my-posh\/ themes\/ stelbent\. minimal\. omp\. json/" /etc/skel/.zshrc
25
-
26
- RUN sudo -u aur yay -S --needed --noconfirm python python-pip python-setuptools python-pipenv python-pipx nodejs npm npm-check-updates
27
-
28
- RUN echo '' >> ~/.zshrc \
29
- && echo 'if [ -d "$HOME/.local/bin" ] ; then' >> ~/.zshrc \
30
- && echo ' PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc \
31
- && echo 'fi' >> ~/.zshrc
32
-
22
+ # install yay
33
23
RUN sudo -u aur yay --cleanafter --removemake --save && \
34
24
pacman -Qtdq | xargs -r pacman --noconfirm -Rcns && \
35
25
rm -rf /home/aur/.cache && \
36
26
rm -rf /build
37
27
28
+ # configure zsh
29
+ RUN sudo -u aur yay -S --needed --noconfirm zsh easy-zsh-config
30
+
31
+ RUN echo '' >> /etc/skel/.zshrc \
32
+ && sed -i -r "s/^(PATH_OF_THE_THEME=).*/\1\/ usr\/ share\/ oh-my-posh\/ themes\/ stelbent\. minimal\. omp\. json/" /etc/skel/.zshrc
33
+
34
+ RUN sudo -u aur yay -S --needed --noconfirm python python-pip python-setuptools python-pipenv python-pipx nodejs npm npm-check-updates
35
+
36
+ # configure python
38
37
RUN sudo -u aur yay -S --needed --noconfirm python38 python39 python311
39
38
39
+ RUN echo '' >> /etc/skel/.zshrc \
40
+ && echo 'if [ -d "$HOME/.local/bin" ] ; then' >> /etc/skel/.zshrc \
41
+ && echo ' PATH="$HOME/.local/bin:$PATH"' >> /etc/skel/.zshrc \
42
+ && echo 'fi' >> /etc/skel/.zshrc
43
+
44
+ # create vscode user
40
45
RUN useradd -l -u 33333 -G wheel -md /home/vscode -s /bin/zsh -p vscode vscode
41
46
USER vscode
42
47
You can’t perform that action at this time.
0 commit comments