This commit is contained in:
Peter Cai 2023-06-24 21:59:21 -04:00
parent 378acb1955
commit 2488511bd5
2 changed files with 3 additions and 3 deletions

View file

@ -1,10 +1,10 @@
FROM grafana/grafana:9.2.0 FROM docker.io/grafana/grafana:10.0.1
USER root USER root
# Add cap_net_bind_service to grafana-server, and set default port to 80 # Add cap_net_bind_service to grafana-server, and set default port to 80
RUN apk add --no-cache libcap-utils --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main \ RUN apk add --no-cache libcap-utils --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main \
&& setcap cap_net_bind_service=+ep ${GF_PATHS_HOME}/bin/grafana-server \ && setcap cap_net_bind_service=+ep ${GF_PATHS_HOME}/bin/grafana-server cap_net_bind_service=+ep ${GF_PATHS_HOME}/bin/grafana \
&& sed -i "s/;http_port = 3000/http_port = 80/" ${GF_PATHS_CONFIG} && sed -i "s/;http_port = 3000/http_port = 80/" ${GF_PATHS_CONFIG}
USER grafana USER grafana

View file

@ -1,6 +1,6 @@
FROM node:16-alpine AS builder FROM node:16-alpine AS builder
ARG SN_TAG=@standardnotes/web@3.149.8 ARG SN_TAG=@standardnotes/web@3.160.10
RUN apk add git RUN apk add git