Skip to content

Commit a3ea646

Browse files
committed
fix markdownlint errors
1 parent 33274a7 commit a3ea646

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

CONTRIBUTING.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,25 +150,28 @@ If you encounter issues:
150150

151151
### Docker Development Image
152152

153-
To build a development docker image you can use `.devcontainer/Dockerfile.dev` dockerfile with the following command.
153+
The `.devcontainer/Dockerfile.dev`
154+
dockerfile can be built directly with the following command.
154155

155-
```
156+
```sh
156157
docker build -t opentelemetry-cpp-dev -f ./.devcontainer/Dockerfile.dev .
157158
```
158159

159-
You can customize the image using build arguments. Commonly you should set your user id and group id.
160+
You can customize the image using build arguments
161+
to match permissions with the host user.
160162

161-
```
163+
```sh
162164
docker build -t opentelemetry-cpp-dev \
163165
--build-arg USER_UID="$(id -u)" \
164166
--build-arg USER_GID="$(id -g)" \
165167
-f ./.devcontainer/Dockerfile.dev .
166168

167169
```
168170

169-
Run an interactive bash session binding your host opentelemetry-cpp directory to the container:
171+
Run an interactive bash session binding your host
172+
opentelemetry-cpp directory to the container's workspace:
170173

171-
```
174+
```sh
172175
docker run -it -v "$PWD:/workspaces/opentelemetry-cpp" opentelemetry-cpp-dev bash
173176
```
174177

0 commit comments

Comments
 (0)