Skip to content

Commit

Permalink
tests: inline dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
  • Loading branch information
laurazard committed May 9, 2023
1 parent a06d32e commit 514d154
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions e2e/cucumber-features/build-contexts.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ Background:
a:
build:
context: .
dockerfile_inline: |
# syntax=docker/dockerfile:1
FROM alpine:latest
COPY --from=dep /etc/hostname /
additional_contexts:
- dep=docker-image://ubuntu:latest
"""
And a dockerfile
"""
# syntax=docker/dockerfile:1
FROM alpine:latest
COPY --from=dep /etc/hostname /
"""

Scenario: Build w/ build context
When I run "compose build"
Expand Down

0 comments on commit 514d154

Please sign in to comment.