mirror of
https://github.com/docker/compose.git
synced 2025-07-21 12:44:54 +02:00
tests: inline dockerfile
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
This commit is contained in:
parent
90bcf610b3
commit
ee70085fba
@ -7,14 +7,12 @@ Background:
|
|||||||
a:
|
a:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
additional_contexts:
|
dockerfile_inline: |
|
||||||
- dep=docker-image://ubuntu:latest
|
|
||||||
"""
|
|
||||||
And a dockerfile
|
|
||||||
"""
|
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
COPY --from=dep /etc/hostname /
|
COPY --from=dep /etc/hostname /
|
||||||
|
additional_contexts:
|
||||||
|
- dep=docker-image://ubuntu:latest
|
||||||
"""
|
"""
|
||||||
|
|
||||||
Scenario: Build w/ build context
|
Scenario: Build w/ build context
|
||||||
|
Loading…
x
Reference in New Issue
Block a user