tests: inline dockerfile

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
Laura Brehm 2023-04-28 14:23:20 +01:00
parent 90bcf610b3
commit ee70085fba

View File

@ -7,14 +7,12 @@ Background:
a:
build:
context: .
additional_contexts:
- dep=docker-image://ubuntu:latest
"""
And a dockerfile
"""
dockerfile_inline: |
# syntax=docker/dockerfile:1
FROM alpine:latest
COPY --from=dep /etc/hostname /
additional_contexts:
- dep=docker-image://ubuntu:latest
"""
Scenario: Build w/ build context