feat: Updated the dockerfile and devpod json to integrate neovim better and include oh-my-zsh. Also initializes the esp tools
This commit is contained in:
@@ -1,7 +1,17 @@
|
||||
FROM espressif/idf:release-v5.5
|
||||
#instalar git, herramientas basicas y reglas udev
|
||||
RUN apt-get update && apt-get install -y git curl python3-pip neovim udev clangd && rm -rf /var/lib/apt/lists/*
|
||||
# Vamos a evitar usar el usuario root para todo
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
udev \
|
||||
nodejs \
|
||||
containerd \
|
||||
ripgrep \
|
||||
fd-find \
|
||||
git \
|
||||
curl \
|
||||
zsh && \
|
||||
usermod -aG dialout ubuntu && \
|
||||
chsh -s /bin/zsh ubuntu
|
||||
# check the default user for this in the future
|
||||
|
||||
RUN useradd -m -u 1200 -g dialout espDev
|
||||
USER espDev
|
||||
USER ubuntu
|
||||
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended && echo "source /opt/esp/entrypoint.sh" | tee -a /home/ubuntu/.zshrc
|
||||
|
||||
Reference in New Issue
Block a user