Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Latest commit

 

History

History
112 lines (93 loc) · 4.59 KB

README.md

File metadata and controls

112 lines (93 loc) · 4.59 KB
logo

DOCKER

CSP: Tools for flexible configuration of chips and boards.
DockerFile commonly used in csplink

English | 中文

✨ Features

  • 👷 CI builds automatically
  • ☁️ Sync to DockerHub

Build

in the corresponding directory:

docker build -f ./Dockerfile -t test:tag .

Run

no mounted directory

docker run --name test -p 10000:22 -itd test:tag

mounted directory

docker run --name test -p 10000:22 -v ~:/home/csplink -itd test:tag

Exec

docker exec -it test /bin/bash

Mirror

sometimes we need to switch to the mirror of the local service

huaweicloud

sed -i 's/archive.ubuntu.com/repo.huaweicloud.com/g' /etc/apt/sources.list;
sed -i 's/security.ubuntu.com/repo.huaweicloud.com/g' /etc/apt/sources.list;

aliyun

sed -i 's/archive.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list;
sed -i 's/security.ubuntu.com/mirrors.aliyun.com/g' /etc/apt/sources.list;