The development environment setting include following capacity:
- zsh
- clash(trojan client)
- Dropbox
- go
- emacs
- Place all your configurations in `~/.config` (this should be a private repository). The directory structure should look like the following:
~/.config |- ssh |- v2ray |- config.json |- zsh |- .zshrc |- dropbox |- ...
- start up
docker-compose up --build -d
- If you want to use a VPN on your host, configure the following environment variables:
export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7891
- Please use the XDG Base Directory Specification to organize your configuration files in the ~/.config directory.
- VPN inbound ends point must listen on “0.0.0.0”, Otherwise other container can’t use this proxy
- 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}/
- config proxy:
- [ ] z.lua
If you encounter the “TLS handshake timeout” error while downloading Go development tools inside a container, please manually execute the # download go devel tools section in Dockerfile.workspace/init.sh outside the host. Refer to goproxy/goproxy.cn#26 for more information.