diff --git a/build_tools/Dockerfile b/build_tools/Dockerfile new file mode 100644 index 0000000..01aac64 --- /dev/null +++ b/build_tools/Dockerfile @@ -0,0 +1,21 @@ +FROM ubuntu:20.04 + +RUN apt-get update && apt-get install -y \ + curl \ + git \ + subversion \ + openssh-server + +RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash +ENV NVM_DIR=/root/.nvm +RUN . "$NVM_DIR/nvm.sh" && nvm install 18 && nvm use 18 + +RUN . "$NVM_DIR/nvm.sh" && npm install -g grunt-cli + +RUN mkdir /var/run/sshd +RUN echo 'root:password' | chpasswd +RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config + +EXPOSE 22 + +CMD ["/usr/sbin/sshd", "-D"] \ No newline at end of file