diff --git a/Dockerfile b/Dockerfile index 02e2781dc9..6111caa8c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,5 @@ +# syntax=docker/dockerfile:1 + # Are we running against the minimal container, or the everything # container? Minimal is mostly the compiled package tools. Everything # pulls in scripting langauges. @@ -8,87 +10,98 @@ ARG BASE_ENV=everything ARG TARGET=test # Container to throw an error if called with a bare `docker build .` -FROM ubuntu:18.04 as error -RUN echo "\n\n\nHey! Use buildkit. See the Makefile or docs\n\n\n" -RUN false +FROM ubuntu:20.04 as error +RUN <=45' 'wheel>=0.34' 'virtualenv>=20' 'virtualenv-tools3>=2' + update-alternatives --install /usr/bin/python python /usr/bin/python3 10 +EOF +# hadolint ignore=DL3006 +FROM ${BASE_ENV}-base as base +RUN <