Skip to content

Commit f428b48

Browse files
Updated for latest version of compiler and models
1 parent 44e5d19 commit f428b48

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

content/learning-paths/embedded-systems/docker/dockerfile.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ Download and [install](/install-guides/docker/) the appropriate version of Docke
2222

2323
Download the installation packages for Arm Compiler for Embedded and the FVP library from the [Product Download Hub](https://developer.arm.com/downloads).
2424

25-
Create a (temporary) directory, and copy the compiler and FVP library installers here.
25+
Create a (temporary) directory, and copy the compiler and FVP library installers there.
2626

27-
Note that the exact file names are dependent on the versions used - you may need to update the below `Dockerfile` as necessary.
27+
Note that the exact file names are dependent on the versions used - you may need to update the `Dockerfile` below as necessary.
2828

2929
## Create Dockerfile
3030

3131
A [Dockerfile](https://docs.docker.com/engine/reference/builder/) is a text file containing all the instructions to build your docker image.
3232

33-
In the same directory, create a text file named exactly `Dockerfile` containing the [below](#dockerfile).
33+
In the same temporary directory, create a text file named exactly `Dockerfile` containing the [below](#dockerfile).
3434

3535
### Notes regarding Dockerfile
3636

@@ -47,8 +47,8 @@ You will need to edit the licensing portion of the file to match your internal l
4747
FROM ubuntu:20.04 as base
4848

4949
# Install packages: update filenames if necessary
50-
ARG ACfE=ARMCompiler6.19_standalone_linux-x86_64.tar.gz
51-
ARG FVP=FVP_ARM_Std_Library_11.20_15_Linux64.tgz
50+
ARG ACfE=ARMCompiler6.21_standalone_linux-x86_64.tar.gz
51+
ARG FVP=FVP_ARM_Std_Library_11.24_11_Linux64.tgz
5252
ARG ARCH=x86_64
5353

5454
ENV USER=ubuntu
@@ -105,7 +105,7 @@ to build a docker image named `arm-environment`. This name is arbitrary, and can
105105

106106
To change `Dockerfile` arguments from the command line, use the `--build-arg` option. For example to build an Arm-hosted docker image:
107107
```console
108-
docker build --build-arg ARCH=aarch64 --build-arg ACfE=ARMCompiler6.19_standalone_linux-aarch64.tar.gz --build-arg FVP=FVP_ARM_Std_Library_11.20_15_Linux64_armv8l.tgz -t arm-environment:aarch64 .
108+
docker build --build-arg ARCH=aarch64 --build-arg ACfE=ARMCompiler6.21_standalone_linux-aarch64.tar.gz --build-arg FVP=FVP_ARM_Std_Library_11.24_11_Linux64_armv8l.tgz -t arm-environment:aarch64 .
109109
```
110110
After a few minutes the docker image will be built and be ready for use. You can see all available images with the command:
111111
```console
@@ -119,5 +119,6 @@ docker run -i -t arm-environment /bin/bash
119119
and you will enter the terminal of the docker image. Verify everything is working correctly with, for example:
120120
```console
121121
armclang --version
122+
FVP_Base_AEMvA --version
122123
```
123124
You have created a docker environment containing Arm Compiler for Embedded and the FVP library, which you can share and replicate as needed.

0 commit comments

Comments
 (0)