ssh-manager/Dockerfile
2021-10-19 20:15:03 +08:00

9 lines
351 B
Docker

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