Files
weave-scope/extras/example/searchapp/Dockerfile
Marc Carré 4e58b83024 Add org.opencontainers.image.* labels to Dockerfiles
- 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.
2018-05-14 11:54:33 +01:00

13 lines
464 B
Docker

FROM progrium/busybox
WORKDIR /home/weave
ADD searchapp /home/weave/
EXPOSE 8080
ENTRYPOINT ["/home/weave/searchapp"]
ARG revision
LABEL maintainer="Weaveworks <help@weave.works>" \
org.opencontainers.image.title="example-searchapp" \
org.opencontainers.image.source="https://github.com/weaveworks/scope/tree/master/extras/example/searchapp" \
org.opencontainers.image.revision="${revision}" \
org.opencontainers.image.vendor="Weaveworks"