-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (22 loc) · 1003 Bytes
/
Copy pathDockerfile
File metadata and controls
25 lines (22 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# The published image is data and nothing else.
#
# There is no shell, no entrypoint and no runtime, so `docker run` against it
# fails by design. It is a content-addressed tarball with a registry in front
# of it.
#
# The build context is assembled by scripts/fetch.sh, which pulls every blob
# named in manifest.json and verifies its sha256. Nothing is fetched here: a
# release must be reproducible from the manifest alone, and a build step that
# reached the network would put a third party in the release path.
#
# Consumers copy the subtree they need, in a test stage only:
#
# COPY --from=ghcr.io/virtool/examples:1.0.0 /data/subtractions ./example/subtractions
#
# Always pin a full three-part version. Never `latest`.
FROM scratch
# Links the published package to this repository on GitHub. Without it the
# package does not appear under the repo and cannot inherit its access
# settings.
LABEL org.opencontainers.image.source="https://github.com/virtool/examples"
COPY context/data /data