Fork自 KubeSphere / kubesphere
体验新版 GitCode,发现更多精彩内容 >>
# Copyright 2020 The KubeSphere Authors. All rights reserved.
# Use of this source code is governed by an Apache license
# that can be found in the LICENSE file.
FROM alpine:3.9
COPY /bin/cmd/ks-apiserver /usr/local/bin/
RUN apk add --update ca-certificates && \ update-ca-certificates && \ adduser -D -g kubesphere -u 1002 kubesphere && \ chown -R kubesphere:kubesphere /usr/local/bin/ks-apiserver
EXPOSE 9090
USER kubesphere
CMD ["sh"]