Skip to content

Commit ee70085

Browse files
committed
tests: inline dockerfile
Signed-off-by: Laura Brehm <[email protected]>
1 parent 90bcf61 commit ee70085

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

e2e/cucumber-features/build-contexts.feature

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ Background:
77
a:
88
build:
99
context: .
10+
dockerfile_inline: |
11+
# syntax=docker/dockerfile:1
12+
FROM alpine:latest
13+
COPY --from=dep /etc/hostname /
1014
additional_contexts:
1115
- dep=docker-image://ubuntu:latest
1216
"""
13-
And a dockerfile
14-
"""
15-
# syntax=docker/dockerfile:1
16-
FROM alpine:latest
17-
COPY --from=dep /etc/hostname /
18-
"""
1917

2018
Scenario: Build w/ build context
2119
When I run "compose build"

0 commit comments

Comments
 (0)