xiaodongloong / docker-vim Goto Github PK
View Code? Open in Web Editor NEWuse docker and vim tools to develop program
License: GNU General Public License v2.0
use docker and vim tools to develop program
License: GNU General Public License v2.0
$ sudo docker build -t docker-vim-go:1.0 .
Sending build context to Docker daemon 1.242MB
Step 1/7 : FROM golang:latest
---> 484b1df71e12
Step 2/7 : RUN apt-get update -y && apt-get install -y vim apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
---> Running in 6c481e5e35fc
Get:1 http://security.debian.org/debian-security buster/updates InRelease [1124 B]
Err:1 http://security.debian.org/debian-security buster/updates InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://deb.debian.org/debian buster/main mips64el Packages [7637 kB]
^C
When I update software, it is too slow in China using debian.org source list.
# apt-get update
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
Get:3 http://security.debian.org/debian-security buster/updates/main amd64 Packages [267 kB]
Get:4 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
60% [5 Packages 4134 kB/7907 kB 52%] 140 kB/s 26s
sudo docker run -it -v /home/loongson/projects/rd-gerrit/go:/go docker-vim-go:1.0 bash
root@04455efb52a4:/go#
root@04455efb52a4:/go#
root@04455efb52a4:/go# ls
AUTHORS CONTRIBUTING.md CONTRIBUTORS LICENSE PATENTS README.md SECURITY.md VERSION api doc favicon.ico lib misc robots.txt src test
root@04455efb52a4:/go# ls -alh ~
total 20K
drwx------ 1 root root 4.0K Oct 15 01:07 .
drwxr-xr-x 1 root root 4.0K Feb 18 07:52 ..
-rw-r--r-- 1 root root 570 Jan 31 2010 .bashrc
drwxr-xr-x 3 root root 4.0K Oct 15 01:07 .cache
-rw-r--r-- 1 root root 148 Aug 17 2015 .profile
root@04455efb52a4:/go# exit
exit
I meet this issue when I read golang/go code.
report network timeout for golang.org/x/...
Ctrl + ] to jump define
vim-go: no packages for file file:///go/src/cmd/compile/internal/gc/plive.go
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.