Skip to content

Commit 3509286

Browse files
authored
Merge pull request #1398 from mathbunnyru/asalikhov/introduce_owner
Introduce owner to Dockerfiles to make it easy to test locally
2 parents 6333762 + 3c9e62e commit 3509286

File tree

9 files changed

+17
-9
lines changed

9 files changed

+17
-9
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ help:
2929

3030
build/%: DARGS?=
3131
build/%: ## build the latest image for a stack
32-
docker build $(DARGS) --rm --force-rm -t $(OWNER)/$(notdir $@):latest ./$(notdir $@)
32+
docker build $(DARGS) --rm --force-rm -t $(OWNER)/$(notdir $@):latest --build-arg OWNER=$(OWNER) ./$(notdir $@)
3333
@echo -n "Built image size: "
3434
@docker images $(OWNER)/$(notdir $@):latest --format "{{.Size}}"
3535

all-spark-notebook/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (c) Jupyter Development Team.
22
# Distributed under the terms of the Modified BSD License.
3-
ARG BASE_CONTAINER=jupyter/pyspark-notebook
3+
ARG OWNER=jupyter
4+
ARG BASE_CONTAINER=$OWNER/pyspark-notebook
45
FROM $BASE_CONTAINER
56

67
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"

binder/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
# Distributed under the terms of the Modified BSD License.
33

44
# https://hub.docker.com/r/jupyter/base-notebook/tags
5-
ARG BASE_CONTAINER=jupyter/base-notebook:33add21fab64
5+
ARG OWNER=jupyter
6+
ARG BASE_CONTAINER=$OWNER/base-notebook:33add21fab64
67
FROM $BASE_CONTAINER
78

89
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"

datascience-notebook/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (c) Jupyter Development Team.
22
# Distributed under the terms of the Modified BSD License.
3-
ARG BASE_CONTAINER=jupyter/scipy-notebook
3+
ARG OWNER=jupyter
4+
ARG BASE_CONTAINER=$OWNER/scipy-notebook
45
FROM $BASE_CONTAINER
56

67
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"

minimal-notebook/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (c) Jupyter Development Team.
22
# Distributed under the terms of the Modified BSD License.
3-
ARG BASE_CONTAINER=jupyter/base-notebook
3+
ARG OWNER=jupyter
4+
ARG BASE_CONTAINER=$OWNER/base-notebook
45
FROM $BASE_CONTAINER
56

67
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"

pyspark-notebook/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (c) Jupyter Development Team.
22
# Distributed under the terms of the Modified BSD License.
3-
ARG BASE_CONTAINER=jupyter/scipy-notebook
3+
ARG OWNER=jupyter
4+
ARG BASE_CONTAINER=$OWNER/scipy-notebook
45
FROM $BASE_CONTAINER
56

67
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"

r-notebook/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (c) Jupyter Development Team.
22
# Distributed under the terms of the Modified BSD License.
3-
ARG BASE_CONTAINER=jupyter/minimal-notebook
3+
ARG OWNER=jupyter
4+
ARG BASE_CONTAINER=$OWNER/minimal-notebook
45
FROM $BASE_CONTAINER
56

67
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"

scipy-notebook/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (c) Jupyter Development Team.
22
# Distributed under the terms of the Modified BSD License.
3-
ARG BASE_CONTAINER=jupyter/minimal-notebook
3+
ARG OWNER=jupyter
4+
ARG BASE_CONTAINER=$OWNER/minimal-notebook
45
FROM $BASE_CONTAINER
56

67
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"

tensorflow-notebook/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Copyright (c) Jupyter Development Team.
22
# Distributed under the terms of the Modified BSD License.
3-
ARG BASE_CONTAINER=jupyter/scipy-notebook
3+
ARG OWNER=jupyter
4+
ARG BASE_CONTAINER=$OWNER/scipy-notebook
45
FROM $BASE_CONTAINER
56

67
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"

0 commit comments

Comments
 (0)