mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-05 03:01:11 +00:00
- This should ultimately help for image-to-code back references. - `org.label-schema.*` labels are now deprecated, in favour of `org.opencontainers.image.*` labels. See also: https://github.com/opencontainers/image-spec/blob/master/annotations.md#back-compatibility-with-label-schema - Git revision (`git rev-parse HEAD`) is now injected at `docker build` time.
13 lines
445 B
Docker
13 lines
445 B
Docker
FROM alpine:latest
|
|
WORKDIR /home/weave
|
|
ADD shout /home/weave/
|
|
EXPOSE 8090
|
|
ENTRYPOINT ["/home/weave/shout"]
|
|
|
|
ARG revision
|
|
LABEL maintainer="Weaveworks <help@weave.works>" \
|
|
org.opencontainers.image.title="example-shout" \
|
|
org.opencontainers.image.source="https://github.com/weaveworks/scope/tree/master/extras/example/shout" \
|
|
org.opencontainers.image.revision="${revision}" \
|
|
org.opencontainers.image.vendor="Weaveworks"
|