From ee70085fbae84e1f12a32cf50af8d66b32796fd9 Mon Sep 17 00:00:00 2001 From: Laura Brehm Date: Fri, 28 Apr 2023 14:23:20 +0100 Subject: [PATCH] tests: inline dockerfile Signed-off-by: Laura Brehm --- e2e/cucumber-features/build-contexts.feature | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/e2e/cucumber-features/build-contexts.feature b/e2e/cucumber-features/build-contexts.feature index b57fbe7d07..ef3b0f4a63 100644 --- a/e2e/cucumber-features/build-contexts.feature +++ b/e2e/cucumber-features/build-contexts.feature @@ -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"