Skip to content

Commit 78bc9bc

Browse files
Linter fix
1 parent feb1795 commit 78bc9bc

File tree

1 file changed

+5
-5
lines changed
  • content/hardware/04.pro/boards/portenta-x8/tutorials/custom-container

1 file changed

+5
-5
lines changed

content/hardware/04.pro/boards/portenta-x8/tutorials/custom-container/content.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ The complete folder will look like this:
4545

4646
Lets go through what these files contain and do.
4747

48-
### docker-buil.conf
48+
### Docker-build.conf
4949
A file containing the minimal "unit test" command to be executed on the container to prove it's working. Our file will make our containers minimal unit test a test of Python3 help command.
5050

5151
```python
5252
TEST_CMD="python3 --help"
5353
```
5454

55-
### docker-compose.yml
55+
### Docker-compose.yml
5656
This file defines the app name through the factory, permissions and settings for the involved containers. The argument in the image tag will make it so our image file builds locally.
5757

5858
```python
@@ -97,7 +97,7 @@ ENV UDEV=1
9797
CMD ["python","-u","main.py"]
9898
```
9999

100-
### requirements.txt
100+
### Requirements.txt
101101

102102
```python
103103
Flask==0.12.3
@@ -144,7 +144,7 @@ repo init -u https://source.foundries.io/factories/YOUR_FACTORY/containers.git -
144144

145145
We can also run ```repo sync``` to get the latest version of the repository. Put the "x8-custom-test" folder in the repository. If you push the commit to "container.git" a new target will automatically build on your Foundries.io Factory page.
146146

147-
*** NOTE: The "repo sync" will at some point pause. This is because it is waiting for a username and password but the prompt will be hidden. Enter the username and password to move on. ***
147+
***NOTE: The "repo sync" will at some point pause. This is because it is waiting for a username and password but the prompt will be hidden. Enter the username and password to move on.***
148148

149149
### Building and Running the Container
150150

@@ -160,7 +160,7 @@ Now that it is built we can run it with ```docker run```, finding it with the ta
160160
docker run -it --rm --user "63" x8-custom-test:latest
161161
```
162162

163-
### Using docker-compose
163+
### Using docker-compose
164164

165165
A option for testing an app or container is to use "docker-compose". This is helpful when we have a lot of settings in our "docker-compose.yml" file, since we don't have to use those settings in the run argument with this method. First navigate into the container folder.
166166

0 commit comments

Comments
 (0)