From c04b08ce4450d510b3d0f25b25c5062675a864d8 Mon Sep 17 00:00:00 2001 From: Matt Boersma Date: Sun, 5 Oct 2014 12:37:57 -0600 Subject: [PATCH] ref(data-units): use ubuntu:14.04 instead of deprecated deis/base Although these data containers may be on their way out soon, for now it is wasteful to have them continue to use deis/base. --- database/tests/database_test.go | 2 +- deisctl/units/deis-database-data.service | 4 ++-- deisctl/units/deis-logger-data.service | 4 ++-- deisctl/units/deis-registry-data.service | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/database/tests/database_test.go b/database/tests/database_test.go index 5e8bddd96f..14ca0ba50f 100644 --- a/database/tests/database_test.go +++ b/database/tests/database_test.go @@ -19,7 +19,7 @@ func TestDatabase(t *testing.T) { defer cli.CmdRm("-f", etcdName) dataName := "deis-database-data-" + tag dockercli.RunDeisDataTest(t, "--name", dataName, - "-v", "/var/lib/postgresql", "ubuntu:14.04", "true") + "-v", "/var/lib/postgresql", "ubuntu:14.04", "/bin/true") host, port := utils.HostAddress(), utils.RandomPort() fmt.Printf("--- Run deis/database:%s at %s:%s\n", tag, host, port) name := "deis-database-" + tag diff --git a/deisctl/units/deis-database-data.service b/deisctl/units/deis-database-data.service index 348edce940..9a8f510fd3 100644 --- a/deisctl/units/deis-database-data.service +++ b/deisctl/units/deis-database-data.service @@ -4,8 +4,8 @@ Description=deis-database-data [Service] Type=oneshot RemainAfterExit=yes -ExecStartPre=/bin/sh -c "docker history deis/base:latest >/dev/null 2>&1 || docker pull deis/base:latest" -ExecStart=/bin/sh -c "docker inspect deis-database-data >/dev/null 2>&1 || docker run --name deis-database-data -v /var/lib/postgresql deis/base:latest true" +ExecStartPre=/bin/sh -c "docker history ubuntu:14.04 >/dev/null 2>&1 || docker pull ubuntu:14.04" +ExecStart=/bin/sh -c "docker inspect deis-database-data >/dev/null 2>&1 || docker run --name deis-database-data -v /var/lib/postgresql ubuntu:14.04 /bin/true" [Install] WantedBy=multi-user.target diff --git a/deisctl/units/deis-logger-data.service b/deisctl/units/deis-logger-data.service index 303b9e6bb1..2083f29468 100644 --- a/deisctl/units/deis-logger-data.service +++ b/deisctl/units/deis-logger-data.service @@ -4,8 +4,8 @@ Description=deis-logger-data [Service] Type=oneshot RemainAfterExit=yes -ExecStartPre=/bin/sh -c "docker history deis/base:latest >/dev/null 2>&1 || docker pull deis/base:latest" -ExecStart=/bin/sh -c "docker inspect deis-logger-data >/dev/null 2>&1 || docker run --name deis-logger-data -v /var/log/deis deis/base:latest true" +ExecStartPre=/bin/sh -c "docker history ubuntu:14.04 >/dev/null 2>&1 || docker pull ubuntu:14.04" +ExecStart=/bin/sh -c "docker inspect deis-logger-data >/dev/null 2>&1 || docker run --name deis-logger-data -v /var/log/deis ubuntu:14.04 /bin/true" [Install] WantedBy=multi-user.target diff --git a/deisctl/units/deis-registry-data.service b/deisctl/units/deis-registry-data.service index 360c7b6fc3..c991848275 100644 --- a/deisctl/units/deis-registry-data.service +++ b/deisctl/units/deis-registry-data.service @@ -4,8 +4,8 @@ Description=deis-registry-data [Service] Type=oneshot RemainAfterExit=yes -ExecStartPre=/bin/sh -c "docker history deis/base:latest >/dev/null 2>&1 || docker pull deis/base:latest" -ExecStart=/bin/sh -c "docker inspect deis-registry-data >/dev/null 2>&1 || docker run --name deis-registry-data -v /data deis/base:latest /bin/true" +ExecStartPre=/bin/sh -c "docker history ubuntu:14.04 >/dev/null 2>&1 || docker pull ubuntu:14.04" +ExecStart=/bin/sh -c "docker inspect deis-registry-data >/dev/null 2>&1 || docker run --name deis-registry-data -v /data ubuntu:14.04 /bin/true" [Install] WantedBy=multi-user.target