Skip to content

Commit f72d5d6

Browse files
authored
Merge pull request docker#10508 from laurazard/tests-inline-dockerfile
Update 🥒 tests to use `dockerfile_inline`
2 parents 90bcf61 + ee70085 commit f72d5d6

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)