From 06f75a8bc73b89e3a621ee2377a3b5a2a382a6e6 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 21 Jun 2022 11:32:56 -0400 Subject: [PATCH] test/remote: Allow override of base image ubuntu:22.04 bumped the ppc64el baseline to POWER9, rendering this unusable on existing POWER8 systems. This allows customization similar to the top-level Dockerfile. Signed-off-by: Yaakov Selkowitz --- test/remote/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/remote/Dockerfile b/test/remote/Dockerfile index 9f657ab50a64..182dc47e9e69 100644 --- a/test/remote/Dockerfile +++ b/test/remote/Dockerfile @@ -1,9 +1,11 @@ +ARG BASE_IMAGE=docker.io/library/ubuntu:22.04 + FROM golang:1.18 AS go RUN go install github.com/mattn/goreman@latest && \ go install github.com/kisielk/godepgraph@latest -FROM ubuntu:22.04 +FROM $BASE_IMAGE ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install --no-install-recommends -y \