FROM codercom/code-server:latest USER root RUN chmod -R 777 /usr/local/bin/fixuid && \ chown root:root /usr/local/bin/fixuid && \ chmod u+s /usr/local/bin/fixuid RUN set -x && \ apt-get update && \ apt-get upgrade -y && \ apt autoremove && \ apt-get install -y cron nginx jq sshpass rclone zip unzip libatomic1 && \ # git curl wget tzdata perl openssl openssh-client procps # curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \ # apt-get install -y nodejs npm && \ apt-get clean && \ ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \ echo "Asia/Shanghai" >/etc/timezone COPY entrypoint.sh /home/coder RUN chmod +x /home/coder/entrypoint.sh # RUN ls /home/coder # ENTRYPOINT ["entrypoint.sh"] # EXPOSE 8080