Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
perf(images): seed docker images as a oneshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Monroy authored and Matthew Fisher committed Apr 15, 2014
1 parent 6aa0092 commit e173103
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions contrib/coreos/user-data
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,18 @@ coreos:
ExecStart=/usr/bin/systemctl stop update-engine-reboot-manager.service
ExecStartPost=/usr/bin/systemctl mask update-engine-reboot-manager.service

[Install]
WantedBy=multi-user.target
- name: seed-deis-images.service
command: start
content: |
[Unit]
Description=Seed Docker images used by Deis
Requires=docker.service

[Service]
Type=oneshot
ExecStart=/bin/sh -c 'docker pull deis/slugrunner:latest'

[Install]
WantedBy=multi-user.target

0 comments on commit e173103

Please sign in to comment.