Portable linux workspace on docker

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

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©