Skip to content

Commit aad7200

Browse files
committed
fix bad merge, forgot to specify docker slug
1 parent 08ceeea commit aad7200

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/cloud/digitalocean/provisioner.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,12 @@ class Provisioner {
326326
name: name,
327327
region: region,
328328
size: "512mb",
329-
image: "ubuntu-14-04-x64",
329+
// 'docker' is a slug name, a.k.a. application image, a.k.a. one-click app.
330+
// The full list of available slugs is available only through the API, e.g.:
331+
// this.doRequest_("GET", "images?type=application&per_page=50").then((resp: any) => {
332+
// console.log('available application images: ' + JSON.stringify(resp, undefined, 2));
333+
// });
334+
image: 'docker',
330335
ssh_keys: [ this.state_.cloud.ssh.id ]
331336
}));
332337
// If missing, create the droplet

0 commit comments

Comments
 (0)