提交 979cfdaf 编写于 作者: R Roland.Ma

optimize docker build

Signed-off-by: NRoland.Ma <rolandma@yunify.com>
上级 0689ec60
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.
先完成此消息的编辑!
想要评论请 注册