Comments (4)
Sending build context to Docker daemon 733.9MB
Step 1/20 : FROM golang:1.20.6-alpine3.18 as builder
1.20.6-alpine3.18: Pulling from library/golang
31e352740f53: Pull complete
7f9bcf943fa5: Pull complete
9fd371fdf0be: Pull complete
add974993529: Pull complete
Digest: sha256:7839c9f01b5502d7cb5198b2c032857023424470b3e31ae46a8261ffca72912a
Status: Downloaded newer image for golang:1.20.6-alpine3.18
---> bf7808b93c00
Step 2/20 : WORKDIR $GOPATH/src/github.com/feiyu563/PrometheusAlert
---> Running in d476aaa45255
Removing intermediate container d476aaa45255
---> bce80a978504
Step 3/20 : RUN apk update && apk add --no-cache gcc g++ sqlite-libs make git
---> Running in 2cbf17fc8c5d
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
v3.18.6-45-g8a53ccbc4c1 [https://dl-cdn.alpinelinux.org/alpine/v3.18/main]
v3.18.6-51-g0d03edd5723 [https://dl-cdn.alpinelinux.org/alpine/v3.18/community]
OK: 20077 distinct packages available
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
(1/26) Upgrading musl (1.2.4-r0 -> 1.2.4-r2)
(2/26) Installing libgcc (12.2.1_git20220924-r10)
(3/26) Installing libstdc++ (12.2.1_git20220924-r10)
(4/26) Installing libstdc++-dev (12.2.1_git20220924-r10)
(5/26) Installing zstd-libs (1.5.5-r4)
(6/26) Installing binutils (2.40-r7)
(7/26) Installing libgomp (12.2.1_git20220924-r10)
(8/26) Installing libatomic (12.2.1_git20220924-r10)
(9/26) Installing gmp (6.2.1-r3)
(10/26) Installing isl26 (0.26-r1)
(11/26) Installing mpfr4 (4.2.0_p12-r0)
(12/26) Installing mpc1 (1.3.1-r1)
(13/26) Installing gcc (12.2.1_git20220924-r10)
(14/26) Installing musl-dev (1.2.4-r2)
(15/26) Installing libc-dev (0.7.2-r5)
(16/26) Installing g++ (12.2.1_git20220924-r10)
(17/26) Installing brotli-libs (1.0.9-r14)
(18/26) Installing libunistring (1.1-r1)
(19/26) Installing libidn2 (2.3.4-r1)
(20/26) Installing nghttp2-libs (1.57.0-r0)
(21/26) Installing libcurl (8.5.0-r0)
(22/26) Installing libexpat (2.6.0-r0)
(23/26) Installing pcre2 (10.42-r1)
(24/26) Installing git (2.40.1-r0)
(25/26) Installing make (4.4.1-r1)
(26/26) Installing sqlite-libs (3.41.2-r3)
Executing busybox-1.36.1-r0.trigger
OK: 246 MiB in 41 packages
Removing intermediate container 2cbf17fc8c5d
---> 99357ae538bf
Step 4/20 : ENV GO111MODULE on
---> Running in 34a24594033a
Removing intermediate container 34a24594033a
---> 5a3ff2df7614
Step 5/20 : ENV GOPROXY https://goproxy.io
---> Running in 3a9175aa5d30
Removing intermediate container 3a9175aa5d30
---> ddcb19f04652
Step 6/20 : COPY . $GOPATH/src/github.com/feiyu563/PrometheusAlert
---> 7ba63b8a70be
Step 7/20 : RUN make build
---> Running in 115fd9469fa5
make: git: Operation not permitted
make: git: Operation not permitted
make: whoami: Operation not permitted
make: hostname: Operation not permitted
make: date: Operation not permitted
make: /bin/sh: Operation not permitted
make: /bin/sh: Operation not permitted
make: *** [Makefile:34: /go/src/github.com/feiyu563/PrometheusAlert//PrometheusAlert] Error 127
The command '/bin/sh -c make build' returned a non-zero code:
from prometheusalert.
Client: Docker Engine - Community
Version: 19.03.5
API version: 1.40
Go version: go1.12.12
Git commit: 633a0ea
Built: Wed Nov 13 07:22:34 2019
OS/Arch: darwin/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.5
API version: 1.40 (minimum version 1.12)
Go version: go1.12.12
Git commit: 633a0ea
Built: Wed Nov 13 07:29:19 2019
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.2.10
GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339
runc:
Version: 1.0.0-rc8+dev
GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
docker-init:
Version: 0.18.0
GitCommit: fec3683
平台macos
是因为go版本不一致?
from prometheusalert.
权限不足
make: git: Operation not permitted
make: git: Operation not permitted
make: whoami: Operation not permitted
make: hostname: Operation not permitted
make: date: Operation not permitted
make: /bin/sh: Operation not permitted
make: /bin/sh: Operation not permitted
from prometheusalert.
from prometheusalert.
Related Issues (20)
- 飞书告警模板能测试成功,但告警测试中的飞书告警测试有问题,请求帮助 HOT 1
- PrometheusAlert支持发送图片吗?
- Docker容器环境变量配置不生效
- prometheusalert可以代替alertmanager嘛 HOT 1
- 飞书v2告警无法通过飞书用户邮箱 @某人 无法显示 HOT 1
- 如何将同类型的告警整合成一个消息发出来呢 HOT 2
- 请问是否支持飞书机器人@某人或@全员 HOT 2
- 阿里云云监控告警接收空消息问题 HOT 2
- 请问是否支持飞书机器人动态的@某人
- PrometheusAlert发送告警到飞书/钉钉等, 如何自定义标题信息?
- response不是json格式的数据
- 钉钉修改配置&为%26加签也不成功 HOT 1
- GetTimeDuration持续时间计算不对
- 发送阿里云短信告警提示错误
- 模板中变量的值在哪里能修改吗? HOT 3
- Feishu 报警无法@用户 HOT 1
- prometheusAlert Grafana报警记录面板 HOT 2
- 多条告警不能汇聚,导致webhook被限流 HOT 2
- 转换Prometheus,graylog告警消息的时区为CST时区,没有生效 HOT 1
- 微信应用需要增添代理设置
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prometheusalert.