Commit a6ae770d authored by Fabio Utzig's avatar Fabio Utzig Committed by Fabio Utzig
Browse files

ci: Update FIH docker to Ubuntu Jammy (22.04)

- Ubuntu Jammy brings CMake 3.22.1 required by newer TFM builds.
- Python requirements were updated following requirements in TFM.
- Added git configuration to ignore repo ownership checks (since 2.35.3).

Signed-off-by: default avatarFabio Utzig <utzig@apache.org>
parent 242db1a9
Loading
Loading
Loading
Loading
+14 −12
Changes for ci/fih_test_docker/docker-build/Dockerfile: 14 added lines, 12 removed lines.
Original line number Diff line number Diff line
@@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM ubuntu:focal
FROM ubuntu:jammy

# get dependencies for retrieving and building TF-M with MCUBoot, and QEMU.
# Get dependencies for retrieving and building TF-M with MCUBoot, and QEMU.
RUN apt-get update && \
    DEBIAN_FRONTEND="noninteractive" \
    apt-get install -y \
@@ -26,18 +26,20 @@ RUN apt-get update && \
    libncurses5 \
    python3 \
    python3-pip \
    qemu-system-arm
    qemu-system-arm \
    file &&\
    apt-get clean all

RUN \
    # installing python packages
    python3 -m pip install \
        imgtool==1.7.0 \
        Jinja2==2.10 \
        PyYAML==3.12 \
        pyasn1==0.1.9
# Installing python packages
RUN python3 -m pip install \
    imgtool>=1.9.0 \
    Jinja2>=2.10.3 \
    PyYAML \
    pyasn1

# Add tfm work directory
RUN mkdir -p /root/work/tfm
# Add tfm work directory && get rid of spurious git ownership errors
RUN mkdir -p /root/work/tfm &&\
    git config --global --add safe.directory '*'

# run the command
CMD ["bash"]