engine.#Build support

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-12-20 19:52:22 +01:00
committed by Sam Alba
parent 13e7236c8b
commit 2467fb1920
15 changed files with 469 additions and 3 deletions

3
tests/tasks/build/testdata/Dockerfile vendored Normal file
View File

@@ -0,0 +1,3 @@
FROM alpine:latest@sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d
COPY . /dir
RUN test $(cat /dir/foo) = foobar

View File

@@ -0,0 +1,2 @@
FROM alpine:latest@sha256:ab00606a42621fb68f2ed6ad3c88be54397f981a7b70a79db3d1172b11c4367d
RUN echo dockerfilePath > /test

1
tests/tasks/build/testdata/foo vendored Normal file
View File

@@ -0,0 +1 @@
foobar