@@ -4,7 +4,7 @@ linuxkit_pkg_build: &linuxkit_pkg_build
4
4
steps :
5
5
- run :
6
6
name : Configure $PATH
7
- command : echo 'export PATH=/workspace/bin:$PATH' >> $BASH_ENV
7
+ command : echo 'export PATH=/workspace/bin-Linux :$PATH' >> $BASH_ENV
8
8
- run :
9
9
name : Install packages
10
10
# ca-certificates are needed for attach_workspace (and git over https)
@@ -38,7 +38,7 @@ image_build: &image_build
38
38
steps :
39
39
- run :
40
40
name : Configure $PATH
41
- command : echo 'export PATH=/workspace/bin:$PATH' >> $BASH_ENV
41
+ command : echo 'export PATH=/workspace/bin-Linux :$PATH' >> $BASH_ENV
42
42
- run :
43
43
name : Install packages
44
44
# ca-certificates are needed for attach_workspace (and git over https)
@@ -96,7 +96,7 @@ image_boot: &image_boot
96
96
steps :
97
97
- run :
98
98
name : Configure $PATH
99
- command : echo 'export PATH=~/workspace/bin:$PATH' >> $BASH_ENV
99
+ command : echo 'export PATH=~/workspace/bin-Linux :$PATH' >> $BASH_ENV
100
100
- run :
101
101
name : Install packages
102
102
# ca-certificates are needed for attach_workspace (and git over https)
@@ -152,29 +152,29 @@ jobs:
152
152
steps :
153
153
- run :
154
154
name : Create workspace
155
- command : mkdir -p /workspace/bin
155
+ command : mkdir -p /workspace/bin-Linux
156
156
- run :
157
157
name : Install packages
158
158
command : apt-get update && apt-get install -y ca-certificates curl openssh-client
159
159
- run :
160
160
name : Fetch binaries
161
161
command : |
162
162
curl -fsSL -o /tmp/docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-17.06.2-ce.tgz
163
- tar xfO /tmp/docker.tgz docker/docker > /workspace/bin/docker
164
- curl -fsSL -o /workspace/bin/linuxkit https://362-46932243-gh.circle-artifacts.com/0/linuxkit-linux-amd64
165
- curl -fsSL -o /workspace/bin/manifest-tool https://github.com/estesp/manifest-tool/releases/download/v0.7.0/manifest-tool-linux-amd64
166
- curl -fsSL -o /workspace/bin/notary https://github.com/theupdateframework/notary/releases/download/v0.4.3/notary-Linux-amd64
163
+ tar xfO /tmp/docker.tgz docker/docker > /workspace/bin-Linux /docker
164
+ curl -fsSL -o /workspace/bin-Linux /linuxkit https://362-46932243-gh.circle-artifacts.com/0/linuxkit-linux-amd64
165
+ curl -fsSL -o /workspace/bin-Linux /manifest-tool https://github.com/estesp/manifest-tool/releases/download/v0.7.0/manifest-tool-linux-amd64
166
+ curl -fsSL -o /workspace/bin-Linux /notary https://github.com/theupdateframework/notary/releases/download/v0.4.3/notary-Linux-amd64
167
167
168
168
echo "Downloaded:"
169
- sha256sum /workspace/bin/*
169
+ sha256sum /workspace/bin-Linux /*
170
170
echo
171
171
172
172
echo "Checking checksums"
173
173
sha256sum -c <<EOF
174
- 6af40e74b2dbb2927882acab52d50bfc72551779d541957fc70b6adc325ee5ef /workspace/bin/docker
175
- b61188823c2491e9a1c16d275e41c68d5736f3f10577d01cb358261ff71bbad6 /workspace/bin/linuxkit
176
- e4ca2ef0015a4be8597d31d9e3e70d88da33924ae72b0999e9f3b79304d4710d /workspace/bin/manifest-tool
177
- 06cd02c4c2e7a3b1ad9899b03b3d4dde5392d964c675247d32f604a24661f839 /workspace/bin/notary
174
+ 6af40e74b2dbb2927882acab52d50bfc72551779d541957fc70b6adc325ee5ef /workspace/bin-Linux /docker
175
+ b61188823c2491e9a1c16d275e41c68d5736f3f10577d01cb358261ff71bbad6 /workspace/bin-Linux /linuxkit
176
+ e4ca2ef0015a4be8597d31d9e3e70d88da33924ae72b0999e9f3b79304d4710d /workspace/bin-Linux /manifest-tool
177
+ 06cd02c4c2e7a3b1ad9899b03b3d4dde5392d964c675247d32f604a24661f839 /workspace/bin-Linux /notary
178
178
EOF
179
179
- run :
180
180
name : Generate SSH Keys
@@ -184,10 +184,10 @@ jobs:
184
184
- run :
185
185
name : Versions
186
186
command : |
187
- chmod +x /workspace/bin/docker # docker version deferred until daemon configured in relevant jobs
188
- chmod +x /workspace/bin/linuxkit && /workspace/bin/linuxkit version
189
- chmod +x /workspace/bin/manifest-tool && /workspace/bin/manifest-tool --version
190
- chmod +x /workspace/bin/notary && /workspace/bin/notary version
187
+ chmod +x /workspace/bin-Linux /docker # docker version deferred until daemon configured in relevant jobs
188
+ chmod +x /workspace/bin-Linux /linuxkit && /workspace/bin-Linux /linuxkit version
189
+ chmod +x /workspace/bin-Linux /manifest-tool && /workspace/bin-Linux /manifest-tool --version
190
+ chmod +x /workspace/bin-Linux /notary && /workspace/bin-Linux /notary version
191
191
- persist_to_workspace :
192
192
root : /workspace
193
193
paths : bin
@@ -201,7 +201,7 @@ jobs:
201
201
steps :
202
202
- run :
203
203
name : Configure $PATH
204
- command : echo 'export PATH=/workspace/bin:$PATH' >> $BASH_ENV
204
+ command : echo 'export PATH=/workspace/bin-Linux :$PATH' >> $BASH_ENV
205
205
- run :
206
206
name : Install packages
207
207
# ca-certificates are needed for attach_workspace (and git over https)
@@ -325,7 +325,7 @@ jobs:
325
325
steps :
326
326
- run :
327
327
name : Configure $PATH
328
- command : echo 'export PATH=/workspace/bin:$PATH' >> $BASH_ENV
328
+ command : echo 'export PATH=/workspace/bin-Linux :$PATH' >> $BASH_ENV
329
329
- run :
330
330
name : Install packages
331
331
# ca-certificates are needed for attach_workspace (and git over https)
0 commit comments