-
Notifications
You must be signed in to change notification settings - Fork 673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker 构建镜像失败 #375
Comments
Sending build context to Docker daemon 733.9MB |
Client: Docker Engine - Community Server: Docker Engine - Community 平台macos |
权限不足
|
我试了下 docker 版本问题
发自我的iPhone
…------------------ 原始邮件 ------------------
发件人: Leslie Zhang ***@***.***>
发送时间: 2024年2月26日 15:35
收件人: feiyu563/PrometheusAlert ***@***.***>
抄送: Yang-yang-y ***@***.***>, Author ***@***.***>
主题: 回复:[feiyu563/PrometheusAlert] docker 构建镜像失败 (Issue #375)
权限不足
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
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sending build context to Docker daemon 733.9MB
Step 1/20 : FROM golang:1.20.6-alpine3.18 as builder
---> bf7808b93c00
Step 2/20 : WORKDIR $GOPATH/src/github.com/feiyu563/PrometheusAlert
---> Using cache
---> bce80a978504
Step 3/20 : RUN apk update && apk add --no-cache gcc g++ sqlite-libs make git
---> Using cache
---> 99357ae538bf
Step 4/20 : ENV GO111MODULE on
---> Using cache
---> 5a3ff2df7614
Step 5/20 : ENV GOPROXY https://goproxy.io
---> Using cache
---> ddcb19f04652
Step 6/20 : COPY . $GOPATH/src/github.com/feiyu563/PrometheusAlert
---> Using cache
---> 7ba63b8a70be
Step 7/20 : RUN make build
---> Running in 4dfbd4e2c2cd
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: 2
The text was updated successfully, but these errors were encountered: