Spaces:
Paused
Paused
xukc
commited on
Commit
·
da8769d
1
Parent(s):
cce47b9
[fix]Dockerfile3
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# Use an official Ubuntu runtime as a parent image
|
2 |
-
FROM
|
3 |
|
4 |
# Use Aliyun mirrors for apt-get
|
5 |
RUN sed -i 's/http:\/\/deb.debian.org\/debian\//http:\/\/mirrors.aliyun.com\/debian\//g' /etc/apt/sources.list
|
@@ -7,8 +7,8 @@ RUN sed -i 's/http:\/\/deb.debian.org\/debian\//http:\/\/mirrors.aliyun.com\/deb
|
|
7 |
# Update the package lists
|
8 |
RUN apt-get update
|
9 |
|
10 |
-
# Install
|
11 |
-
RUN apt-get install -y g++ make cmake
|
12 |
|
13 |
# Download and build libuv from source
|
14 |
RUN apt-get install -y git
|
|
|
1 |
# Use an official Ubuntu runtime as a parent image
|
2 |
+
FROM debian:latest
|
3 |
|
4 |
# Use Aliyun mirrors for apt-get
|
5 |
RUN sed -i 's/http:\/\/deb.debian.org\/debian\//http:\/\/mirrors.aliyun.com\/debian\//g' /etc/apt/sources.list
|
|
|
7 |
# Update the package lists
|
8 |
RUN apt-get update
|
9 |
|
10 |
+
# Install build tools
|
11 |
+
RUN apt-get install -y g++ make cmake autoconf automake libtool
|
12 |
|
13 |
# Download and build libuv from source
|
14 |
RUN apt-get install -y git
|