ThongCoder commited on
Commit
2f33ad8
·
verified ·
1 Parent(s): c916b50

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +42 -0
Dockerfile CHANGED
@@ -12,6 +12,10 @@ RUN apt-get update && apt-get install -y \
12
  cmake ninja-build pkg-config \
13
  llvm clang lld lldb \
14
  valgrind gdb strace ltrace \
 
 
 
 
15
  && rm -rf /var/lib/apt/lists/*
16
 
17
  RUN git lfs install
@@ -57,6 +61,9 @@ RUN wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-p
57
  && rm packages-microsoft-prod.deb \
58
  && apt-get update && apt-get install -y dotnet-sdk-8.0
59
 
 
 
 
60
  # -----------------------------
61
  # code-server
62
  # -----------------------------
@@ -84,6 +91,41 @@ USER vscode
84
  RUN pip install huggingface_hub[cli]
85
  ENV PATH=$PATH:/home/vscode/.local/bin
86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  # -----------------------------
88
  # Entrypoint: restore + code-server
89
  # -----------------------------
 
12
  cmake ninja-build pkg-config \
13
  llvm clang lld lldb \
14
  valgrind gdb strace ltrace \
15
+ htop tree jq sqlite3 \
16
+ net-tools iputils-ping \
17
+ rsync git-extras \
18
+ fzf silversearcher-ag ripgrep \
19
  && rm -rf /var/lib/apt/lists/*
20
 
21
  RUN git lfs install
 
61
  && rm packages-microsoft-prod.deb \
62
  && apt-get update && apt-get install -y dotnet-sdk-8.0
63
 
64
+ # Yarn + Pnpm build tools
65
+ RUN npm install -g yarn pnpm
66
+
67
  # -----------------------------
68
  # code-server
69
  # -----------------------------
 
91
  RUN pip install huggingface_hub[cli]
92
  ENV PATH=$PATH:/home/vscode/.local/bin
93
 
94
+ # -----------------------------
95
+ # Finishing touches -- you can comment these if not needed
96
+ # -----------------------------
97
+ # pip tools - dev/machine learning/AI
98
+ RUN pip install --upgrade pip setuptools wheel \
99
+ && pip install black flake8 mypy jupyterlab ipython notebook
100
+
101
+ # Node tools
102
+ RUN npm install -g typescript ts-node nodemon
103
+
104
+ # Locales to prevent Unicode issues
105
+ RUN apt-get update && apt-get install -y locales \
106
+ && locale-gen en_US.UTF-8 \
107
+ && update-locale LANG=en_US.UTF-8
108
+ ENV LANG=en_US.UTF-8
109
+ ENV LANGUAGE=en_US:en
110
+ ENV LC_ALL=en_US.UTF-8
111
+
112
+ # -----------------------------
113
+ # Check versions of installed tools
114
+ # -----------------------------
115
+ RUN echo "===== Installed versions =====" && \
116
+ python3 --version && pip --version && \
117
+ rustc --version && cargo --version && \
118
+ go version && \
119
+ node -v && npm -v && yarn -v && pnpm -v && \
120
+ java -version && javac -version && \
121
+ dotnet --version && \
122
+ cmake --version && ninja --version && \
123
+ gcc --version && g++ --version && \
124
+ clang --version && lldb --version && \
125
+ git --version && git lfs version && \
126
+ jq --version && htop --version && \
127
+ fzf --version && rg --version && ag --version
128
+
129
  # -----------------------------
130
  # Entrypoint: restore + code-server
131
  # -----------------------------