tests: inline dockerfile

Signed-off-by: Laura Brehm <[email protected]>
This commit is contained in:
Laura Brehm
2023-05-09 17:27:47 +01:00
parent 90bcf610b3
commit ee70085fba
+4 -6
View File
@@ -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"