1 Star 0 Fork 0

homqyy/hcore

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 666 Bytes
一键复制 编辑 原始数据 按行查看 历史
homqyy 提交于 2022-09-05 11:17 +08:00 . 解决在容器中构建失败
FROM homqyy/dev_env_centos8
ARG USER=1000
ARG GROUP=1000
USER root
#
# install 'ripgrep' for 'todo-tree' extension of vscode
# install clang-format
RUN curl https://copr.fedorainfracloud.org/coprs/carlwgeorge/ripgrep/repo/epel-7/carlwgeorge-ripgrep-epel-7.repo \
> /etc/yum.repos.d/carlwgeorge-ripgrep-epel-7.repo \
&& yum -y install ripgrep git-clang-format
RUN groupadd -g $GROUP hcore \
&& useradd -g $GROUP -u $USER hcore
USER $USER:$GROUP
WORKDIR /workspace/hcore
LABEL cn.homqyy.docker.author="homqyy"
LABEL cn.homqyy.docker.email="yilupiaoxuewhq@163.com"
LABEL cn.homqyy.docker.project="hcore"
ENTRYPOINT [ "/bin/bash", "./build.sh" ]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/homqyy/hcore.git
git@gitee.com:homqyy/hcore.git
homqyy
hcore
hcore
master

搜索帮助