github.com/polarismesh/polaris@v1.17.8/release/Dockerfile (about)

     1  # Tencent is pleased to support the open source community by making Polaris available.
     2  #
     3  # Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
     4  #
     5  # Licensed under the BSD 3-Clause License (the "License");
     6  # you may not use this file except in compliance with the License.
     7  # You may obtain a copy of the License at
     8  #
     9  # https://opensource.org/licenses/BSD-3-Clause
    10  #
    11  # Unless required by applicable law or agreed to in writing, software distributed
    12  # under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
    13  # CONDITIONS OF ANY KIND, either express or implied. See the License for the
    14  # specific language governing permissions and limitations under the License.
    15  
    16  FROM alpine:3.13.6
    17  
    18  RUN sed -i 's!http://dl-cdn.alpinelinux.org/!https://mirrors.tencent.com/!g' /etc/apk/repositories
    19  
    20  RUN set -eux && \
    21      apk add tcpdump && \
    22      apk add tzdata && \
    23      apk add busybox-extras && \
    24      apk add curl && \
    25      apk add bash && \
    26      cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
    27      echo "Asia/Shanghai" > /etc/timezone && \
    28      date
    29  
    30  ARG TARGETARCH
    31  COPY polaris-server-${TARGETARCH} /root/polaris-server
    32  COPY ./release/conf /root/conf
    33  
    34  WORKDIR /root
    35  
    36  CMD ["/root/polaris-server", "start"]