Sign inSign up

yshojihep/vscode

By yshojihep

•Updated 16 days ago

LaTeX, Python3, C++, Fortran, Rust for VSCode Remote SSH/Tunnel

Image
Developer tools
1

10K+

yshojihep/vscode repository overview

⁠Development environment for VSCode Remote SSH

⁠Description

LaTeX, Python3, C++, Fortran, Rust for VSCode Remote SSH/Tunnel.

The container can be accessed via VSCode Remote SSH. To use VSCode Remote Tunnel, see the log of the container.

⁠Packages

⁠LaTeX
  • texlive (external volume)
  • latexindent
⁠Python
  • python3
  • pip3
  • venv
⁠C++ & Fortran
  • build-essential
  • gfortran
⁠Rust
  • stable
⁠Node.js
  • node via nvm
⁠Library
  • gsl
  • boost-all
  • openblas
  • hdf5
  • ssl
  • lapack
  • suitesparse

⁠Install TeX Live

Mount an external volume to /usr/local/texlive and run the following to install TeX Live.

#!/bin/bash
wget https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
tar zxf install-tl-unx.tar.gz
rm install-tl-unx.tar.gz
cd install-tl-*
perl ./install-tl --no-interaction --portable
cd ..
rm -r install-tl-*

⁠Docker

Optionally mount \home\vscode\.ssh, \home\vscode\.gitconfig, \home\vscode\.vscode, \home\vscode\.vscode-server, \etc\ssh.

version: "3"
services:
  vscode:
    ports:
      - "2222:22"
    container_name: vscode
    restart: always
    hostname: vscode
    image: yshojihep/vscode:latest
    volumes:
      - /path/to/vol:/usr/local/texlive

⁠Kubernetes

---
apiVersion: v1
kind: Pod
metadata:
  name: vscode
spec:
  hostname: vscode
  containers:
    - name: app
      securityContext:
        capabilities:
          add:
            - SYS_CHROOT
            - AUDIT_WRITE
      image: yshojihep/vscode:latest
      ports:
        - containerPort: 22
      volumeMounts:
        - name: texlive
          mountPath: /usr/local/texlive

Tag summary

Content type

Image

Digest

sha256:01480826a…

Size

1.1 GB

Last updated

16 days ago

docker pull yshojihep/vscode