1 Star 4 Fork 6

孤梧/Github 源码

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile.golden 1.78 KB
一键复制 编辑 原始数据 按行查看 历史
孤梧 提交于 2020-11-05 16:09 +08:00 . 整理自互联网档案馆
FROM 895557238572.dkr.ecr.us-east-1.amazonaws.com/build-pipelines-github-full:07a485732f37a27238b5b5641f60ef067d7b822d
ARG GIT_TOKEN
RUN chmod 755 /usr/local/bundle
RUN chown -R build:docker /usr/local/bundle
RUN mkdir -p /workspace/github && chown build:build /workspace/github
USER build
COPY --chown=build:docker . /workspace/github/
RUN mkdir /workspace/github/log && mkdir -p /workspace/github/public && touch /workspace/github/public/robots.txt
RUN git config --global credential.helper '!f() { sleep 1; echo "username=git"; echo "password=${GIT_TOKEN}"; }; f'
WORKDIR /workspace/github
# Build ruby
RUN script/build-ruby
# Build ruby-next
RUN RUBY_NEXT=1 script/build-ruby
# Build git and then remove the source directory since it will contain a large git checkout and we don't need it
RUN script/build-git
# Pull babeld out of the main bootstrap. We can't remove the source directory because it builds in place though
RUN script/build-babeld && rm -f vendor/babeld/*.o
# Pull the node build out of the main bootstrap.
RUN script/build-node
# Build dgit-update and remove the vendored directories to save space.
RUN script/build-subproject dgit-update && rm -rf vendor/dgit-update/vendor/*
# Build gpgverify and remove the vendored directories to save space.
RUN script/build-subproject gpgverify && rm -rf vendor/gpgverify/.setup && rm -rf vendor/gpgverify/vendor/*
# Rather than invoke script/bootstrap in development mode, pull out these extra dependencies for certain builds
# we don't build ghvfs because it builds a docker container, which we won't cache in the golden image
# Build alambic
RUN script/build-subproject alambic
# Build lfs-server
RUN script/build-subproject lfs-server
# Build slumlord
RUN script/build-subproject slumlord
RUN git config --global credential.helper store
USER root
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Ruby
1
https://gitee.com/duanxs/github-source-code.git
git@gitee.com:duanxs/github-source-code.git
duanxs
github-source-code
Github 源码
master

搜索帮助