Compare commits
No commits in common. "8bb78bfd3a09bd55708235a359e2fe4bebcd07ec" and "4cb106b63e2d865c58533809d100368ef301caed" have entirely different histories.
8bb78bfd3a
...
4cb106b63e
2 changed files with 0 additions and 12 deletions
|
@ -1,7 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
[ -z "$1" ] && exit 1
|
[ -z "$1" ] && exit 1
|
||||||
|
|
||||||
docker build $1 -t gitea.angry.im/petercxy/$1:latest
|
docker build $1 -t gitea.angry.im/petercxy/$1:latest
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
FROM grafana/grafana:9.2.0
|
|
||||||
|
|
||||||
USER root
|
|
||||||
|
|
||||||
# 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 \
|
|
||||||
&& setcap cap_net_bind_service=+ep ${GF_PATHS_HOME}/bin/grafana-server \
|
|
||||||
&& sed -i "s/;http_port = 3000/http_port = 80/" ${GF_PATHS_CONFIG}
|
|
||||||
|
|
||||||
USER grafana
|
|
Loading…
Add table
Reference in a new issue