optimize docker build

Signed-off-by: Roland.Ma <rolandma@yunify.com>
This commit is contained in:
Roland.Ma
2020-09-22 09:14:52 +00:00
parent 0689ec6049
commit 979cfdaf38
2 changed files with 5 additions and 4 deletions

View File

@@ -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"]