Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sailist/docker-dev-sophgo
https://github.com/sailist/docker-dev-sophgo
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sailist/docker-dev-sophgo
- Owner: sailist
- Created: 2023-07-13T02:16:33.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-04T08:05:25.000Z (over 1 year ago)
- Last Synced: 2023-09-04T23:42:16.576Z (over 1 year ago)
- Language: Shell
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# clone
```
git clone https://github.com/sailist/docker-dev-sophgo
cd docker-dev-sophgo
```# prepare id_rsa.pub
将本地 id_rsa.pub 上传到 repo 目录下
```diff
./
../
build.sh
create.sh
Dockerfile
.git/
.gitignore
+ id_rsa.pub
README.md
run_docker.sh
```# custom environment
按自己需求更改 Dockerfile,如
```
RUN echo 'export PATH=$PATH:...' >> ~/.bashrc
```# build
只需运行一次,创建镜像
```
bash build.sh
```# create container
创建容器,根据需求创建
```
bash create.sh
```# run
```
bash run_docker.sh
```# directly connect ssh
可以直接 ssh 连入 docker