aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2025-10-14 12:57:38 +0000
committerRichard Qin <richard.qin.x@gmail.com>2025-10-14 12:57:38 +0000
commit275e2ca033a880fe959e7eb4e83268a70318ba57 (patch)
tree312cad2e9d0dbeb608fdd300061b854e4cfa891b /Dockerfile
downloaddatalab2026-275e2ca033a880fe959e7eb4e83268a70318ba57.tar.gz
datalab2026-275e2ca033a880fe959e7eb4e83268a70318ba57.tar.xz
Initial commit
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..d65fdc4
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,20 @@
+FROM ubuntu:20.04
+
+RUN sed -i 's/archive.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list && \
+ sed -i 's/security.ubuntu.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list && \
+ sed -i 's/archive.canonical.com/mirrors.tuna.tsinghua.edu.cn/g' /etc/apt/sources.list
+
+RUN apt-get update && apt-get install -y \
+ gcc \
+ gcc-multilib \
+ g++ \
+ make \
+ clang-format \
+ git \
+ python3
+
+COPY . /app
+
+WORKDIR /app
+
+CMD ["/bin/bash"] \ No newline at end of file