/workspaces

build develop environment by using docker

Primary LanguageShell

About

The development environment setting include following capacity:

  1. zsh
  2. clash(trojan client)
  3. Dropbox
  4. go
  5. emacs28

Usage

  1. put all your config in ~/.config(should be a private repo), the directory structure show like following
~/.config
    |- ssh
    |- v2ray
        |- config.json
    |- zsh
        |- .zshrc
    |- dropbox
    |- ...
  1. docker-compose up --build -d

Attention

  1. recommand to use XDG Base Directory Specification to organize your ~/.config directory
  2. v2ray inbound ends point must listen on “0.0.0.0”, Otherwise other container can’t use this proxy
  3. how to config Dropbox
    • config proxy: docker exec -it ref.dropbox gosu dropbox dropbox proxy manual socks5 172.20.128.12 8888
    • exclude directory: docker exec -it ref.dropbox gosu dropbox dropbox exclude add /opt/dropbox/Dropbox/${your_exclude_dir}/

Attention2: the Fxxk GFW

如果在容器内下载go的开发工具提示 “: TLS handshake timeout”,请在宿主机外手动执行 Dockerfile.wokrspace/init.sh 中 “# download go devel tools”,参考 goproxy/goproxy.cn#26