Portable linux workspace on docker

Волков Роман Олегович 85b76c69d4 Обновить 'chengelog.txt' 1 vuosi sitten
.bashrc a7db7d53d1 update colorscheme 1 vuosi sitten
.dockerignore 31a7f33aa6 update base image in more. see changelog.txt 2 vuotta sitten
.gitignore 31a7f33aa6 update base image in more. see changelog.txt 2 vuotta sitten
.tmux.conf 31a7f33aa6 update base image in more. see changelog.txt 2 vuotta sitten
.vimrc 31a7f33aa6 update base image in more. see changelog.txt 2 vuotta sitten
Dockerfile 2bb9c5c6d3 Add powerline status for tmux 1 vuosi sitten
For VSCode Users.md 31a7f33aa6 update base image in more. see changelog.txt 2 vuotta sitten
LICENSE 1468a173c0 fixed crlf bug for vimrc 3 vuotta sitten
README.md c04c4edfea Update README 2 vuotta sitten
chengelog.txt 85b76c69d4 Обновить 'chengelog.txt' 1 vuosi sitten
docker-compose.yml 31a7f33aa6 update base image in more. see changelog.txt 2 vuotta sitten

README.md

Portable linux workspace

A container with a set of familiar tools
if for some reason you have to work in an unfamiliar environment - this can help you
Installation instructions as "Visual Studio Code" terminal

Dependencies:

Windows:
  • Docker-desktop (tested on WSL2)
  • Windows Terminal (for theme)
MacOs:

How to use it:

Docker desktop should be running!

Check that your Powershell has an alias for cd. If not, replace the cd in the construction below with Set-Location -Path

  • Git clone to your favorite empty folder or download and extract the archive into it
  • Open Windows Terminal with PowerShell:

    cd \path\to\you\favorite\folder

    docker-compose up -d

    docker ps

    docker exec -it (copy and paste the name or id from the command output above) bash

  • On MacOS, the same actions need to be performed in Terminal
After installation, inside container:
  • Change $HOME/.config/base16-shell/scripts/base16-material-palenight.sh in .bashrc, if don't like the default theme
  • Run dpkg-reconfigure tzdata, to set the desired time zone

Your needs may be broader than mine. Edit the Dockerfile and docker-compose.yml according to your needs.

Caution!

Git changes the newline character by default, which can cause problems when building the image. Comment on anything Vim-related, or study THIS and take action.


License MIT©