2 Star 0 Fork 0

mirrors_rancher/build-tekton

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 824 Bytes
一键复制 编辑 原始数据 按行查看 历史
FROM registry.suse.com/bci/golang:1.22 as builder
ENV TEKTON_TAG v0.41.0
ENV GO111MODULE off
RUN zypper -n install --no-recommends git docker vim curl wget ca-certificates
RUN mkdir -p /go/src/github.com/tektoncd/pipeline && \
git clone --depth 1 --branch ${TEKTON_TAG} https://github.com/tektoncd/pipeline.git /go/src/github.com/tektoncd/pipeline
WORKDIR /go/src/github.com/tektoncd/pipeline
COPY scripts scripts
RUN /usr/bin/bash scripts/build
FROM registry.suse.com/bci/bci-base:15.6
RUN zypper -n update && \
zypper -n install --no-recommends openssh git && \
zypper -n clean -a
RUN useradd -U -m gituser
USER gituser
COPY --from=builder /go/src/github.com/tektoncd/pipeline/bin/entrypoint /usr/bin/
COPY --from=builder /go/src/github.com/tektoncd/pipeline/bin/git-init /usr/bin/
ENTRYPOINT ["entrypoint"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_rancher/build-tekton.git
git@gitee.com:mirrors_rancher/build-tekton.git
mirrors_rancher
build-tekton
build-tekton
master

搜索帮助