Skip to content

Commit

Permalink
ref(data-units): use ubuntu:14.04 instead of deprecated deis/base
Browse files Browse the repository at this point in the history
Although these data containers may be on their way out soon, for now
it is wasteful to have them continue to use deis/base.
  • Loading branch information
mboersma committed Oct 5, 2014
1 parent 19c63b6 commit c04b08c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion database/tests/database_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions deisctl/units/deis-database-data.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions deisctl/units/deis-logger-data.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions deisctl/units/deis-registry-data.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c04b08c

Please sign in to comment.