10 Star 47 Fork 28

Gitee 极速下载 / Jenkins-x

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/jenkins-x/jx
克隆/下载
Dockerfile-tfo-gcp 963 Bytes
一键复制 编辑 原始数据 按行查看 历史
FROM google/cloud-sdk:slim
USER root
ARG TARGETARCH
ARG TARGETOS
ARG VERSION
LABEL org.opencontainers.image.source https://github.com/jenkins-x/jx
# unzip
RUN apt-get install -y unzip bash jq && \
rm -rf /var/lib/apt/lists/*
# terraform
ENV TERRAFORM 1.1.2
RUN curl -LO https://releases.hashicorp.com/terraform/${TERRAFORM}/terraform_${TERRAFORM}_linux_amd64.zip && \
unzip terraform_${TERRAFORM}_linux_amd64.zip && \
chmod +x terraform && mv terraform /usr/bin && rm terraform_${TERRAFORM}_linux_amd64.zip
# jx
RUN echo using jx version ${VERSION} and OS ${TARGETOS} arch ${TARGETARCH} && \
mkdir -p /home/.jx3 && \
curl -L https://github.com/jenkins-x/jx/releases/download/v${VERSION}/jx-${TARGETOS}-${TARGETARCH}.tar.gz | tar xzv && \
mv jx /usr/bin
# lets install the boot plugins
RUN jx upgrade plugins --boot --path /usr/bin
# lets install the admin plugin
RUN jx admin help
COPY run.sh /run.sh
ENTRYPOINT ["/bin/bash"]
CMD ["run.sh"]
Go
1
https://gitee.com/mirrors/Jenkins-x.git
git@gitee.com:mirrors/Jenkins-x.git
mirrors
Jenkins-x
Jenkins-x
main

搜索帮助