-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
45 lines (42 loc) · 976 Bytes
/
wercker.yml
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
37
38
39
40
41
42
43
44
45
box: jpetazzo/dind
build:
steps:
- script:
name: Init
code: |
echo I am: `whoami`
echo ENV: `env`
- script:
name: Pre-Setup
code: |
apt-get update -qq
apt-get install -qq -y git make sudo wget curl
# - script:
# name: Install docker
# code: |
# curl -sSL https://get.docker.com/ | sh
# usermod -aG docker `whoami`
# usermod -aG sudo `whoami`
- script:
name: Test docker
code: |
docker -v
docker --help
service docker restart
ls -ahlF /var/run/
docker version
docker info
docker run --rm hello-world
- script:
name: Setup
code: make setup
- script:
name: Information
code: make info
- script:
name: Run
code: make run
after-steps:
- script:
name: Check
code: make check