Switch to using a base image arg, so that the image can be passed into the dockerfile

Signed-off-by: Daniel Mikusa <dmikusa@vmware.com>
This commit is contained in:
Daniel Mikusa
2021-08-27 09:28:59 -04:00
parent 91a9a8fbbc
commit 23907f63b9

View File

@@ -1,4 +1,5 @@
FROM bellsoft/liberica-openjdk-debian:11
ARG base_image=ubuntu:bionic
FROM ${base_image}
RUN apt-get update && apt-get install --no-install-recommends -y \
git \