Debian Codegraph @

test/Dockerfile.ocimanifest

raw
1 # This Dockerfile is used to test image with an OCI manifest (issue #1184).
2 #
3 # WARNING: The manifest is produced by the build tool and is rather opaque.
4 # Specifically, re-building the image might silently produce a different
5 # manifest that also works, negating the value of this test. Building this
6 # image with Podman 3.0.1 did trigger the above issue; Podman 3.4.0 very
7 # likely has the same behavior. Bottom line, be very cautious about
8 # re-building this image. One approach would be to comment out the content
9 # types added by #1184 and see if the updated image still triggers the bug.
10 #
11 # Scope is “skip” because we pull it to test; see test/build/50_pull.bats.
12 # ch-test-scope: skip
13 #
14 # To build and push:
15 #
16 # $ VERSION=$(date +%Y-%m-%d)
17 # $ podman build -t charliecloud/ocimanifest:$VERSION \
18 # -f Dockerfile.ocimanifest .
19 # $ podman images | fgrep ocimanifest
20 # $ podman login
21 # $ podman push charliecloud/ocimanifest:$VERSION
22 #
23
24 FROM alpine:3.17
25 RUN echo hello