未验证 提交 84e815f6 编写于 作者: K KubeSphere CI Bot 提交者: GitHub

Merge pull request #2984 from RolandMa1986/fix-build

optimize docker build
tmp/
.github
# exclude all files and folders except bin folder
**
!bin
......@@ -3,10 +3,10 @@
# that can be found in the LICENSE file.
FROM alpine:3.11
COPY /bin/cmd/controller-manager /usr/local/bin/
RUN apk add --no-cache ca-certificates
COPY /bin/cmd/controller-manager /usr/local/bin/
EXPOSE 8443 8080
CMD ["sh"]
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册