Skip to content

Commit 338a694

Browse files
committed
Update README with docker steps and add gitignore.
1 parent f7e6aa6 commit 338a694

File tree

2 files changed

+62
-2
lines changed

2 files changed

+62
-2
lines changed

.gitignore

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
###########
2+
# Project #
3+
###########
4+
# Nothing yet
5+
6+
######################
7+
# OS generated files #
8+
######################
9+
# macoOS
10+
.DS_Store
11+
.DS_Store?
12+
.AppleDouble
13+
.LSOverride
14+
._*
15+
.Spotlight-V100
16+
.Trashes
17+
Icon?
18+
19+
# Windows
20+
Thumbs.db
21+
ehthumbs.db
22+
ehthumbs_vista.db
23+
*.stackdump
24+
[Dd]esktop.ini
25+
$RECYCLE.BIN/
26+
*.lnk
27+
28+
# Linux
29+
*~
30+
.fuse_hidden*
31+
.directory
32+
.Trash-*
33+
.nfs*

README.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,29 @@
1-
# docker-microbit-toolchain
2-
Docker image with the micro:bit toolchain
1+
# Docker micro:bit Toolchain
2+
3+
Docker image with the micro:bit toolchain.
4+
5+
## Instructions
6+
7+
### Build docker image
8+
9+
Build the docker image:
10+
11+
```
12+
docker build -t "ubit-toolchain-img" .
13+
```
14+
15+
For better traceability it's good to save the build output, so preferably do:
16+
17+
### Run a bash session
18+
19+
Run a bash session (launches a new container) inside an existing docker image:
20+
21+
```
22+
docker run --name ubit-toolchain-container -it --entrypoint /bin/bash ubit-toolchain-img
23+
```
24+
25+
### Copy files from docker to host
26+
27+
```
28+
docker cp ubit-toolchain-container:/home/artefacts .
29+
```

0 commit comments

Comments
 (0)