
The current Promenade image is vulnerable to several CVEs: CVE-2019-3462 CVE-2018-16865 CVE-2018-16864 Which Ubuntu 16.04/18.04 addresses. This patchset makes the following changes: 1. Adds new distro specific dockerfiles for xenial/bionic. 2. Updates gates to be specific about the ubuntu image being checked. 3. Updates .zuul.yaml checks/gates/post jobs for xenial/bionic. 4. Updates build-image.sh docker build for specific dockerfile specified in config.sh (IMAGE_PROMENADE_DISTRO). Change-Id: I89e5297a3baa8c2d2c142e5e29932476fc628398
17 lines
359 B
Bash
Executable File
17 lines
359 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eux
|
|
|
|
SCRIPT_DIR=$(realpath $(dirname $0))
|
|
SOURCE_DIR=$(realpath $SCRIPT_DIR/..)
|
|
|
|
echo === Building image ===
|
|
docker build \
|
|
-t quay.io/airshipit/promenade:master \
|
|
-f "${SOURCE_DIR}/images/promenade/Dockerfile.${DISTRO}" \
|
|
${SOURCE_DIR}
|
|
|
|
export PROMENADE_DEBUG=${PROMENADE_DEBUG:-1}
|
|
|
|
exec $SCRIPT_DIR/simple-deployment.sh ${@}
|