fix(ci): harden Ubuntu container smoke test apt install
This commit is contained in:
4
.github/workflows/ci-cd.yml
vendored
4
.github/workflows/ci-cd.yml
vendored
@@ -97,8 +97,8 @@ jobs:
|
||||
echo "Testing basic container setup for Ubuntu ${{ matrix.ubuntu_version }}..."
|
||||
docker run --rm ubuntu:${{ matrix.ubuntu_version }} /bin/bash -c "
|
||||
export DEBIAN_FRONTEND=noninteractive &&
|
||||
apt-get update &&
|
||||
apt-get install -y python3 python3-apt &&
|
||||
apt-get update -o Acquire::Retries=5 -o Acquire::http::Timeout=30 || apt-get update -o Acquire::Retries=5 -o Acquire::http::Timeout=30 &&
|
||||
apt-get install -y --no-install-recommends python3 ca-certificates &&
|
||||
python3 --version &&
|
||||
echo 'Ubuntu ${{ matrix.ubuntu_version }} container test successful'"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user