mirror of
https://github.com/weaveworks/scope.git
synced 2026-02-14 18:09:59 +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.
17 lines
575 B
Docker
17 lines
575 B
Docker
FROM weaveworks/cloud-agent
|
|
RUN apk add --update runit && \
|
|
rm -rf /var/cache/apk/*
|
|
ADD ./demo.json /
|
|
COPY ./runsvinit ./entrypoint.sh /home/weave/
|
|
COPY ./run-app /etc/service/app/run
|
|
COPY ./run-probe /etc/service/probe/run
|
|
EXPOSE 4040
|
|
ENTRYPOINT ["/home/weave/entrypoint.sh"]
|
|
|
|
ARG revision
|
|
LABEL maintainer="Weaveworks <help@weave.works>" \
|
|
org.opencontainers.image.title="scope" \
|
|
org.opencontainers.image.source="https://github.com/weaveworks/scope" \
|
|
org.opencontainers.image.revision="${revision}" \
|
|
org.opencontainers.image.vendor="Weaveworks"
|