Skip to content

Commit

Permalink
fix: 解决镜像构建失败的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ssongliu committed Nov 15, 2022
1 parent 21938a9 commit da784f5
Show file tree
Hide file tree
Showing 4 changed files with 10,057 additions and 48,405 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ RUN ARCH=$(uname -m) \
&& tar -xvf kubectx_${KUBECTX_VERSION}_linux_${ARCH}.tar.gz \
&& chmod +x kubectx \
&& mv kubectx /usr/bin \
&& curl -L https://kubeoperator.oss-cn-beijing.aliyuncs.com/kubepi/get-helm-3 | bash \
&& HELM_VERSION=v3.10.2 \
&& wget http://kubeoperator.oss-cn-beijing.aliyuncs.com/helm/${HELM_VERSION}/helm-${HELM_VERSION}-linux-${ARCH}.tar.gz \
&& tar -xvf helm-${HELM_VERSION}-linux-${ARCH}.tar.gz \
&& mv linux-${ARCH}/helm /usr/local/bin \
&& chmod +x /usr/local/bin/helm \
&& chmod +x /usr/local/bin/gotty \
&& chmod 555 /bin/busybox \
&& rm -rf /tmp/* /var/tmp/* /var/cache/apk/* \
Expand All @@ -89,4 +93,4 @@ EXPOSE 80
USER root

ENTRYPOINT ["tini", "-g", "--"]
CMD ["kubepi-server"]
CMD ["kubepi-server"]
Loading

0 comments on commit da784f5

Please sign in to comment.