Older/Dockerfiles/yoctools.dockerfile
luocai 949f84718b
Some checks failed
Deploy / PullDocker (push) Successful in 3s
Deploy / Build (push) Successful in 4m43s
Deploy Docker Images / Docusaurus build and Server deploy (push) Failing after 3m6s
add dockerfiles.
2024-11-01 10:03:07 +08:00

24 lines
827 B
Docker

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 \
&& apt install -y git lz4 unzip python3-pip
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 .