-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
36 lines (31 loc) · 918 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- mode: ruby -*-
# vi: set ft=ruby :
#
# Use vagrant if you don't have docker on your machine
#
# 0. Run once:
# vagrant up --provision-with shell
#
# 1. Put your coursera-dl arguments in line 34
#
# 3. Run:
# vagrant provision --provision-with docker
#
#
# Files will be downloaded to the projects directory
#
#
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
# update box to be able to install docker
config.vm.provision "shell", inline: "sudo apt-get update"
config.vm.provision "docker" do |d|
# Uncomment if you want build image from Dockerfile
# d.build_image "/vagrant", args: "-t mshytikov/coursera-dl-docker"
d.run "mshytikov/coursera-dl-docker",
args:"-v /vagrant:/downloads",
# Put your coursera-dl arguments here
cmd: '-u YOUR_COURSERA_EMAIL -p PASSWORD hwswinterface-002'
end
end