FROM gitpod/openvscode-server:latest USER root RUN apt-get update && apt-get install -y \ curl \ git \ nodejs \ npm \ && rm -rf /var/lib/apt/lists/* RUN npm install -g pm2 ENV OPENVSCODE_SERVER_ROOT="/home/.openvscode-server" ENV OPENVSCODE="${OPENVSCODE_SERVER_ROOT}/bin/openvscode-server" USER openvscode-server # # copy ms-vscode-remote.remote-ssh-0.99.2023032015.vsix file to container # COPY ms-vscode-remote.remote-ssh-0.99.2023032015.vsix /home/.openvscode-server/extensions/ms-vscode-remote.remote-ssh-0.99.2023032015.vsix # # install ms-vscode-remote.remote-ssh-0.99.2023032015.vsix # RUN ${OPENVSCODE} --install-extension /home/.openvscode-server/extensions/ms-vscode-remote.remote-ssh-0.99.2023032015.vsix RUN ${OPENVSCODE} --install-extension njzy.stats-bar RUN ${OPENVSCODE} --install-extension cweijan.vscode-ssh EXPOSE 7860 ENTRYPOINT [ "/bin/sh", "-c", "exec ${OPENVSCODE} --host 0.0.0.0 --port 7860 --without-connection-token \"${@}\"", "--" ]