2024-11-01 10:03:07 +08:00
|
|
|
FROM ubuntu:22.04
|
|
|
|
LABEL maintainer="amass <168062547@qq.com>"
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
RUN sed -i "s@http://.*archive.ubuntu.com@http://mirrors.tuna.tsinghua.edu.cn@g" /etc/apt/sources.list \
|
|
|
|
&& sed -i "s@http://.*security.ubuntu.com@http://mirrors.tuna.tsinghua.edu.cn@g" /etc/apt/sources.list \
|
|
|
|
&& apt update \
|
2024-11-06 15:51:01 +08:00
|
|
|
&& apt install -y curl git lz4 unzip python3-pip \
|
|
|
|
&& curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \
|
|
|
|
&& apt update \
|
|
|
|
&& apt install -y nodejs \
|
|
|
|
&& apt clean \
|
|
|
|
&& rm -fr /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
2024-11-01 10:03:07 +08:00
|
|
|
|
|
|
|
RUN pip3 install yoctools pyyaml && cd /usr/bin && ln -s python3 python
|
|
|
|
|
|
|
|
|
|
|
|
RUN git config --global core.quotepath false \
|
|
|
|
&& git config --global user.email "168062547@qq.com" \
|
|
|
|
&& git config --global user.name "amass"
|
|
|
|
|
|
|
|
|
|
|
|
CMD ["service", "ssh", "start", "-D"]
|
|
|
|
|
|
|
|
ENV LANG=C.UTF-8
|
|
|
|
ENV LC_ALL=C.UTF-8
|
|
|
|
ENV TERM=xterm-256color
|
|
|
|
|
|
|
|
# docker build --progress=tty -f yoctools.dockerfile -t registry.cn-shenzhen.aliyuncs.com/amass_toolset/yoctools:22.04 .
|