add devenv and devcontainer to manage environmnet

This commit is contained in:
2024-10-15 13:15:37 +00:00
parent 92b2097a97
commit 09e44a6ba8
18 changed files with 793 additions and 15 deletions

15
.devcontainer/Dockerfile Normal file → Executable file
View File

@@ -1,3 +1,14 @@
FROM localhost/arm-himix200-linux
FROM ubuntu:24.04
RUN apt install unzip
RUN apt-get update
RUN apt-get -y install software-properties-common && add-apt-repository -y ppa:xmake-io/xmake \
&& apt-get update && apt-get -y install xmake make unzip g++ git curl wget cmake\
&& echo "export XMAKE_ROOT=y" >> /etc/profile
RUN apt-get -y install bzip2 libc6-i386 lib32z1 lib32stdc++6 zlib1g-dev libncurses5-dev \
ncurses-term libncurses-dev libssl-dev openssl bc
# No Packages: gawk texinfo texlive
# For project
RUN echo "export LD_LIBRARY_PATH=/workspaces/CatFeeder/arm-himix200-linux/libexec/gcc/arm-linux-gnueabi/6.3.0" >> /etc/profile

6
.devcontainer/devcontainer.json Normal file → Executable file
View File

@@ -13,16 +13,14 @@
// "appPort": [ "7897:7897" ],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "uname -a",
// "postCreateCommand": "sh ../toolchains/arm-himix200-linux.install",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"setting": {},
"extensions": [
"ms-vscode.cpptools-extension-pack",
"tboox.xmake-vscode",
"satiromarra.code-sftp"
"tboox.xmake-vscode"
]
}
}