095d90ae71
* fix(frontend-service): mount public/img dir, copy Canvas subdirs over * fix(canvas): update icon selector to use enum type not magic string * fix(canvas): update folder selector to use grafana path from window * chore(todo): code comment on when/where to remove Dockerfile COPYing * feat(resource-dimension): public asset URL should include build/ for CDN * chore(todo): note where to remove -- Grafana -- ds dependency from later * fix(canvas): update folder selector to use build/ in path to hit CDN * test(resource-dimension): expect relative URLs to include build/ for CDN * fix(geomap): load icons for legend from CDN friendly path as well * chore(resource-dimensions): delete dead code
37 lines
1.0 KiB
Docker
37 lines
1.0 KiB
Docker
FROM ubuntu:24.04
|
|
|
|
RUN --mount=type=cache,target=/var/lib/apt/lists \
|
|
--mount=type=cache,target=/var/cache/apt \
|
|
set -eux; \
|
|
apt-get update; \
|
|
apt-get install -y --no-install-recommends ca-certificates; \
|
|
update-ca-certificates
|
|
|
|
WORKDIR /grafana
|
|
|
|
RUN mkdir -p "conf/provisioning/datasources" \
|
|
"conf/provisioning/dashboards" \
|
|
"conf/provisioning/notifiers" \
|
|
"conf/provisioning/plugins" \
|
|
"conf/provisioning/access-control" \
|
|
"conf/provisioning/alerting"
|
|
|
|
COPY conf/defaults.ini conf/defaults.ini
|
|
|
|
COPY public/emails public/emails
|
|
COPY public/views public/views
|
|
COPY public/dashboards public/dashboards
|
|
COPY public/app/plugins public/app/plugins
|
|
|
|
# TODO: Remove below as part of https://github.com/grafana/grafana/issues/110350
|
|
COPY public/gazetteer public/gazetteer
|
|
COPY public/maps public/maps
|
|
COPY public/img/bg public/img/bg
|
|
COPY public/img/icons public/img/icons
|
|
|
|
ADD devenv/frontend-service/build/grafana bin/grafana
|
|
|
|
COPY public/build/assets-manifest.json public/build/assets-manifest.json
|
|
|
|
ENTRYPOINT ["bin/grafana", "server"]
|