Skip to content
Snippets Groups Projects
Commit 7e1eca55 authored by Xuefeng Ding's avatar Xuefeng Ding
Browse files

update

parent be4ac0ae
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,8 @@ RUN dnf --best --assumeyes update && \
git \
zsh \
which util-linux-user wget sudo passwd unzip \
clang lldb lld clang-tools-extra && \
clang lldb lld clang-tools-extra \
dotnet-sdk-9.0 && \
dnf clean all
RUN rm /usr/bin/cc /usr/bin/c++ && \
......@@ -39,8 +40,6 @@ USER $USERNAME
RUN export REMOTE="https://gitee.com/mirrors/oh-my-zsh" && \
export COMMAND="$(curl -fsSL ${REMOTE}/raw/master/tools/install.sh)" && \
sh -c "${COMMAND}" "" --unattended && \
echo ${REMOTE} && \
echo ${COMMAND} && \
echo 'export PATH="/usr/local/cuda-12.4/bin${PATH:+:${PATH}}"' >>~/.zshrc && \
echo 'export LD_LIBRARY_PATH="/usr/local/cuda-12.4/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"' >>~/.zshrc
......@@ -53,6 +52,3 @@ RUN source ~/venv/bin/activate && \
pip install --upgrade pip && \
pip install -r ~/requirements-dev.txt && \
rm -rf ~/requirements.txt ~/requirements-dev.txt
RUN curl -o /home/vscode/vscode-lldb.vsix https://vadimcn.gallery.vsassets.io/_apis/public/gallery/publisher/vadimcn/extension/vscode-lldb/latest/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage && \
echo "find ~ -name lldb | grep -q . || code --install-extension /home/vscode/vscode-lldb.vsix" >> ~/.zshrc
......@@ -6,16 +6,18 @@
},
"runArgs": ["--userns=keep-id"], // needed for podman
"remoteUser": "vscode",
"postCreateCommand": "/home/vscode/venv/bin/pip install -e .",
"customizations": {
"vscode": {
"extensions": [
"llvm-vs-code-extensions.vscode-clangd",
// "vadimcn.vscode-lldb",
"vadimcn.vscode-lldb",
"ms-toolsai.jupyter",
"ziruiwang.nvidia-monitor",
"esbenp.prettier-vscode",
"ms-python.python",
"charliermarsh.ruff",
"twxs.cmake",
"josetr.cmake-language-support-vscode",
"tamasfe.even-better-toml"
],
......
-r requirements.txt
accelerate
iminuit
jupyter
matplotlib
mplhep
nox
numpy
pandas
pre-commit
pyarrow
pytest
pytest-cov
scipy
torch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment