FROM alpine:latest ARG ssh_manage ENV TIME_ZONE=Asia/Shanghai RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && apk update && apk add tzdata \ && ln -snf /usr/share/zoneinfo/$TIME_ZONE /etc/localtime && echo $TIME_ZONE > /etc/timezone WORKDIR /root ADD ${ssh_manage} /root/ EXPOSE 8082 CMD [ "/root/ssh_manage" ]