aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-06-09 21:00:04 -0400
committerTom Rini <trini@konsulko.com>2021-06-09 21:00:04 -0400
commit0c84c1d85907f18f4d5e421da34ded635d7dbe05 (patch)
treeea04649de28388b1e15bce85dd74e7026a2b8cd0
parent0008d8086649d3bb3afd0c4697f5b73ccf6f293d (diff)
downloadu-boot-WIP/test-new-container.zip
u-boot-WIP/test-new-container.tar.gz
u-boot-WIP/test-new-container.tar.bz2
Docker/CI: Update to "focal" and latest buildWIP/test-new-container
Move us up to being based on Ubuntu 20.04 "focal" and the latest tag from Ubuntu. Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r--.azure-pipelines.yml2
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--tools/docker/Dockerfile15
3 files changed, 9 insertions, 10 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 35ab7f3..01858cf 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -2,7 +2,7 @@ variables:
windows_vm: vs2017-win2016
ubuntu_vm: ubuntu-18.04
macos_vm: macOS-10.15
- ci_runner_image: trini/u-boot-gitlab-ci-runner:bionic-20200807-02Sep2020
+ ci_runner_image: trini/u-boot-gitlab-ci-runner:focal-20210416-09Jun2021
# Add '-u 0' options for Azure pipelines, otherwise we get "permission
# denied" error when it tries to "useradd -m -u 1001 vsts_azpcontainer",
# since our $(ci_runner_image) user is not root.
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d072e83..9196aef 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,7 +2,7 @@
# Grab our configured image. The source for this is found at:
# https://source.denx.de/u-boot/gitlab-ci-runner
-image: trini/u-boot-gitlab-ci-runner:bionic-20200807-02Sep2020
+image: trini/u-boot-gitlab-ci-runner:focal-20210416-09Jun2021
# We run some tests in different order, to catch some failures quicker.
stages:
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index d2f0074..be84149 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -2,7 +2,7 @@
# This Dockerfile is used to build an image containing basic stuff to be used
# to build U-Boot and run our test suites.
-FROM ubuntu:bionic-20200807
+FROM ubuntu:focal-20210416
MAINTAINER Tom Rini <trini@konsulko.com>
LABEL Description=" This image is for building U-Boot inside a container"
@@ -12,7 +12,7 @@ ENV DEBIAN_FRONTEND=noninteractive
# Add LLVM repository
RUN apt-get update && apt-get install -y gnupg2 wget xz-utils && rm -rf /var/lib/apt/lists/*
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
-RUN echo deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main | tee /etc/apt/sources.list.d/llvm.list
+RUN echo deb http://apt.llvm.org/focal/ llvm-toolchain-focal-10 main | tee /etc/apt/sources.list.d/llvm.list
# Manually install the kernel.org "Crosstool" based toolchains for gcc-7.3
RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/9.2.0/x86_64-gcc-9.2.0-nolibc-aarch64-linux.tar.xz | tar -C /opt -xJ
@@ -62,10 +62,9 @@ RUN apt-get update && apt-get install -y \
imagemagick \
iputils-ping \
libguestfs-tools \
- libisl15 \
liblz4-tool \
libpixman-1-dev \
- libpython-dev \
+ libpython3-dev \
libsdl1.2-dev \
libsdl2-dev \
libssl-dev \
@@ -80,12 +79,12 @@ RUN apt-get update && apt-get install -y \
picocom \
parted \
pkg-config \
- python \
- python-dev \
- python-pip \
- python-virtualenv \
+ python-is-python3 \
+ python3 \
+ python3-dev \
python3-pip \
python3-sphinx \
+ python3-virtualenv \
rpm2cpio \
sbsigntool \
sloccount \