Browse Source

Adding additional basic information

tags/v0.3.11-rc1
haixuantao 10 months ago
parent
commit
26200d082e
2 changed files with 21 additions and 2 deletions
  1. +3
    -0
      docker/minimal/Dockerfile
  2. +18
    -2
      docker/minimal/README.md

+ 3
- 0
docker/minimal/Dockerfile View File

@@ -7,6 +7,9 @@ RUN apt-get update && apt-get install -y \
build-essential \
pkg-config \
libssl-dev \
ffmpeg \
libsm6 \
libxext6 \
&& rm -rf /var/lib/apt/lists/*

# Install Rust (required for Dora)


+ 18
- 2
docker/minimal/README.md View File

@@ -11,11 +11,27 @@ This Dockerfile provides a minimal environment for running Dora applications wit

## Building the Image

docker build -t dora-minimal
```bash
docker build . -t dora-minimal
```

## Running the Container

docker run -it --rm -v $(pwd):/app dora-minimal
```bash
docker run -it --rm dora-minimal
```

## Running not in interactive

```bash
docker run --rm dora-minimal dora --help
```

## Running with privilege as well as USB connection

```bash
docker run --rm --device=/dev/ttyUSB0 dora-minimal dora --help
```

## Usage



Loading…
Cancel
Save