Docker: Add args to allow changing base image

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
Ryan Friedman 2023-08-09 14:44:51 -06:00 committed by Peter Barker
parent d78fe1ad99
commit 1ae25d9a61
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
FROM ubuntu:22.04
ARG BASE_IMAGE="ubuntu"
ARG TAG="22.04"
FROM ${BASE_IMAGE}:${TAG}
WORKDIR /ardupilot
ARG DEBIAN_FRONTEND=noninteractive