From a570f43cfbac4d67bd0192348570b4435b46c660 Mon Sep 17 00:00:00 2001 From: Guo Quan Date: Tue, 4 Feb 2020 14:34:23 -0500 Subject: [PATCH] Add `ROOT_CONTAINER` to base-notebook Add another layer of abstraction to the base container, namely the root container `ROOT_CONTAINER`, so that the user can have the flexibility to build the whole series of images with `make` based on a different base image. --- base-notebook/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base-notebook/Dockerfile b/base-notebook/Dockerfile index 020cd41a..9e1edcfa 100644 --- a/base-notebook/Dockerfile +++ b/base-notebook/Dockerfile @@ -3,7 +3,8 @@ # Ubuntu 18.04 (bionic) # https://hub.docker.com/_/ubuntu/?tab=tags&name=bionic -ARG BASE_CONTAINER=ubuntu:bionic-20200112@sha256:bc025862c3e8ec4a8754ea4756e33da6c41cba38330d7e324abd25c8e0b93300 +ARG ROOT_CONTAINER=ubuntu:bionic-20200112@sha256:bc025862c3e8ec4a8754ea4756e33da6c41cba38330d7e324abd25c8e0b93300 +ARG BASE_CONTAINER=$ROOT_CONTAINER FROM $BASE_CONTAINER LABEL maintainer="Jupyter Project "