You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

13 lines
713 B

FROM node:12-bullseye-slim
RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list; \
sed -i 's|security.debian.org/debian-security|mirrors.ustc.edu.cn/debian-security|g' /etc/apt/sources.list; \
apt-get update; \
apt-get install -y --no-install-recommends build-essential zlib1g-dev libncurses5-dev \
libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev gcc g++ \
libsqlite3-dev wget libbz2-dev coreutils util-linux ca-certificates wget \
patch dstat vim curl git sudo glibc-source python3 python3-pip python2; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*; \
ln -s /usr/bin/python3 /usr/bin/python