File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -202,25 +202,25 @@ def test_build_isolation(self):
202
202
pass
203
203
204
204
@requires_api_version ('1.38' )
205
- def test_build_with_buildkit (self ):
205
+ def test_build_buildkit_heredoc (self ):
206
206
script = io .BytesIO ('\n ' .join ([
207
207
'FROM scratch' ,
208
208
'COPY <<EOF greeting.txt' ,
209
209
'hello world' ,
210
210
'EOF'
211
211
]).encode ('ascii' ))
212
212
213
- self .tmp_imgs .append ('buildkit' )
213
+ self .tmp_imgs .append ('buildkit-heredoc ' )
214
214
215
215
stream = self .client .build (
216
- fileobj = script , tag = 'buildkit' ,
216
+ fileobj = script , tag = 'buildkit-heredoc ' ,
217
217
version = '2'
218
218
)
219
219
220
220
for _chunk in stream :
221
221
pass
222
222
223
- assert self .client .inspect_image ('buildkit' )
223
+ assert self .client .inspect_image ('buildkit-heredoc ' )
224
224
225
225
@requires_api_version ('1.23' )
226
226
def test_build_labels (self ):
You can’t perform that action at this time.
0 commit comments