feat: 发布的第一个可以构建的版本 v0.1
这是一个里程碑,标志着项目进入了第一个可用阶段 本次发布包含: - 添加一些编译内核用到的软件 - 只做到了基本的容器可以构建 - 确认了编译内核的可行性 版本哈:v0.1 下一步计划: - 完善所有需要的编译内核软件 - 继续完善构建 - 解决编译内核中遇到的问题
This commit is contained in:
40
v0.1/Dockerfile
Normal file
40
v0.1/Dockerfile
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
FROM alpine:3.21
|
||||||
|
|
||||||
|
# del offical mirrors
|
||||||
|
#RUN sed -i '/^#/!d' /etc/apk/repositories
|
||||||
|
|
||||||
|
# rm && touch /etc/apk/repositories
|
||||||
|
#RUN rm /etc/apk/repositories && touch /etc/apk/repositories
|
||||||
|
|
||||||
|
# echo mirrors.tuna.tsinghua.edu.cn (CHINA)
|
||||||
|
#RUN echo "https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.21/main" >> /etc/apk/repositories
|
||||||
|
#RUN echo "https://mirrors.tuna.tsinghua.edu.cn/alpine/v3.21/community" >> /etc/apk/repositories
|
||||||
|
#RUN echo "https://mirrors.tuna.tsinghua.edu.cn/plpine/v3.21/testing" >> /etc/apk/repositories
|
||||||
|
|
||||||
|
# echo mirrors.ustc.edu.cn (CHINA)
|
||||||
|
#RUN echo "https//mirrors.ustc.edu.cn/alpine/v3.21/main" >> /etc/apk/repositories
|
||||||
|
#RUN echo "https://mirrors.ustc.edu.cn/alpine/v3.21/community" >> /etc/apk/repositories
|
||||||
|
#RUN echo "https://mirrors.ustc.edu.cn/alpine/v3.21/testing" >> /etc/apk/repositories
|
||||||
|
|
||||||
|
# echo dl-cdn.alpinelinux.org (OFFICAL)
|
||||||
|
#RUN echo "https://dl-cdn.alpinelinux.org/alpine/v3.21/main" >> /etc/apk/repositories
|
||||||
|
#RUN echo "https://dl-cdn.alpinelinux.org/alpine/v3.21/community" >> /etc/apk/repositories
|
||||||
|
#RUN echo "https://dl-cdn.alpinelinux.org/alpine/v3.21/testing" >> /etc/apk/repositories
|
||||||
|
|
||||||
|
# ping (TEST)
|
||||||
|
#RUN ping baidu.com
|
||||||
|
|
||||||
|
# apk update
|
||||||
|
RUN apk update
|
||||||
|
|
||||||
|
# install page--"build-base | alpine-sdk | zlib-dev | ncurses-dev | wget | curl | w3m | lftp | openssh | screen | vim | nano | bash | coreutils | tar | unzip net-tools | htop | git |"
|
||||||
|
RUN apk add --no-cache build-base alpine-sdk zlib-dev ncurses-dev wget curl w3m lftp openssh screen vim nano bash coreutils tar unzip net-tools htop git
|
||||||
|
|
||||||
|
# cd root
|
||||||
|
RUN cd /root
|
||||||
|
|
||||||
|
# mkdir mlt
|
||||||
|
RUN mkdir mlt
|
||||||
|
|
||||||
|
# WORK IN /root/mlt
|
||||||
|
WORKDIR /root/mlt
|
||||||
Reference in New Issue
Block a user