Compare commits
2 Commits
758d047627
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 3b5005195c | |||
| a4bb72fb64 |
@@ -1,7 +1,17 @@
|
|||||||
FROM espressif/idf:release-v5.5
|
FROM espressif/idf:release-v5.5
|
||||||
#instalar git, herramientas basicas y reglas udev
|
RUN apt-get update && \
|
||||||
RUN apt-get update && apt-get install -y git curl python3-pip neovim udev clangd && rm -rf /var/lib/apt/lists/*
|
apt-get install -y \
|
||||||
# Vamos a evitar usar el usuario root para todo
|
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 ubuntu
|
||||||
USER espDev
|
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
|
||||||
|
|||||||
@@ -3,10 +3,15 @@
|
|||||||
"build": {
|
"build": {
|
||||||
"dockerfile": "DockerFile"
|
"dockerfile": "DockerFile"
|
||||||
},
|
},
|
||||||
|
"remoteUser": "ubuntu",
|
||||||
|
"features": {
|
||||||
|
"ghcr.io/duduribeiro/devcontainer-features/neovim:1": {
|
||||||
|
"version": "stable"
|
||||||
|
}
|
||||||
|
},
|
||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"terminal.integrated.defaultProfile.linux": "bash",
|
|
||||||
"idf.espIdfPath": "/opt/esp/idf",
|
"idf.espIdfPath": "/opt/esp/idf",
|
||||||
"idf.toolsPath": "/opt/esp",
|
"idf.toolsPath": "/opt/esp",
|
||||||
"idf.gitPath": "/usr/bin/git",
|
"idf.gitPath": "/usr/bin/git",
|
||||||
@@ -14,10 +19,14 @@
|
|||||||
},
|
},
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"ms-vscode.cpptools",
|
"ms-vscode.cpptools",
|
||||||
"espressif.esp-idf-extension"
|
"espressif.esp-idf-extension",
|
||||||
|
"ms-vscode.cpptools-extension-pack"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"mounts": [
|
||||||
|
"source=${env:HOME}/.config/nvim,target=/home/ubuntu/.config/nvim,type=bind"
|
||||||
|
],
|
||||||
"runArgs": [
|
"runArgs": [
|
||||||
"--privileged",
|
"--privileged",
|
||||||
"-v",
|
"-v",
|
||||||
|
|||||||
38
LICENSE
38
LICENSE
@@ -1,38 +0,0 @@
|
|||||||
GNU GENERAL PUBLIC LICENSE
|
|
||||||
Version 3, 29 June 2007
|
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
Preamble
|
|
||||||
|
|
||||||
The GNU General Public License is a free, copyleft license for
|
|
||||||
software and other kinds of works.
|
|
||||||
|
|
||||||
The licenses for most software and other practical works are designed
|
|
||||||
to take away your freedom to share and change the works. By contrast,
|
|
||||||
the GNU General Public License is intended to guarantee your freedom to
|
|
||||||
share and change all versions of a program--to make sure it remains free
|
|
||||||
software for all its users. We, the Free Software Foundation, use the
|
|
||||||
GNU General Public License for most of our software; it applies also to
|
|
||||||
any other work released this way by its authors. You can apply it to
|
|
||||||
your programs, too.
|
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
|
||||||
have the freedom to distribute copies of free software (and charge for
|
|
||||||
them if you wish), that you receive source code or can get it if you
|
|
||||||
want it, that you can change the software or use pieces of it in new
|
|
||||||
free programs, and that you know you can do these things.
|
|
||||||
|
|
||||||
To protect your rights, we need to prevent others from denying you
|
|
||||||
these rights or asking you to surrender the rights. Therefore, you have
|
|
||||||
certain responsibilities if you distribute copies of the software, or if
|
|
||||||
you modify it: responsibilities to respect the freedom of others.
|
|
||||||
|
|
||||||
For example, if you distribute copies of such a program, whether
|
|
||||||
gratis or for a fee, you must pass on to the recipients the same
|
|
||||||
freedoms that you received. You must make sure that they, too, receive
|
|
||||||
or can get the source code. And you must show them these terms so they
|
|
||||||
know their rights.
|
|
||||||
Reference in New Issue
Block a user