You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .devcontainer/README.md
+8
Original file line number
Diff line number
Diff line change
@@ -22,3 +22,11 @@ To choose the dev container you want to use, adjust `devcontainer.json` and chan
22
22
*`./sources/Dockerfile.ChibiOS` to build the container image from the source with all the elements to build ChibiOS based devices
23
23
*`./sources/Dockerfile.ESP32` to build the container image from the source with all the elements to build ESP32 based devices
24
24
*`./sources/Dockerfile.TI` to build the container image from the source with all the elements to build TI SimpleLink based devices
25
+
26
+
27
+
## Building and releasing Docker images in a fork
28
+
29
+
Add a "repository variable" called `PUBLISH_DOCKER_IMAGE` with the value `true` in your forked repository
30
+
See: https://docs.github.com/en/actions/learn-github-actions/variables#creating-configuration-variables-for-a-repository for further help.
31
+
32
+
**Note:** by default, the build and publish of the devcontainer docker images will still only happen when the docker source files change and are "pushed" to the `main` branch.
// Adjust this file to chose the platform you want using the prebuild containers
3
+
// Adjust this file to choose the platform you want using the prebuild containers:
4
4
// - Dockerfile.All = you can build anything but it's a very large container
5
5
// - Dockerfile.AzureRTOS = for AzureRTOS targets
6
6
// - Dockerfile.ChibiOS = for ChibiOS based targets (ex: STM32, Netduino, Orgpal)
7
7
// - Dockerfile.ESP32 = for ESP32 targets
8
8
// - Dockerfile.TI = for TI targets
9
-
// If you prefer, you can use the source files and adjust them they are located, with the same names in ./sources. This will alow you to customize them and add anything you may need on top.
10
-
"dockerFile": "Dockerfile.ALL",
9
+
// If you prefer, you can use the source files and adjust them where they are located,
10
+
// To do this, prefix 'sources'. e.g. 'sources/Dockerfile.All'.
11
+
// This will allow you to customize and build the container source and add anything you may need on top.
12
+
"dockerFile": "Dockerfile.All",
11
13
"context": ".",
12
14
"mounts": [
15
+
// Bind the Unix socket the Docker daemon listens on by default
0 commit comments