Skip to content
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

Error when compiling - library tail not available #7

Open
rdemendoza opened this issue Mar 31, 2021 · 2 comments
Open

Error when compiling - library tail not available #7

rdemendoza opened this issue Mar 31, 2021 · 2 comments

Comments

@rdemendoza
Copy link

rdemendoza commented Mar 31, 2021

Hi,
we have an issue when compiling: docker build -t maillog2db .
Sending build context to Docker daemon 5.118MB
Step 1/7 : FROM golang:1.14.4 AS builder
1.14.4: Pulling from library/golang
e9afc4f90ab0: Pull complete
989e6b19a265: Pull complete
af14b6c2f878: Pull complete
5573c4b30949: Pull complete
d4020e2aa747: Pull complete
85383fed8a84: Pull complete
0bdb3996894f: Pull complete
Digest: sha256:d31a307a7e42116adb00d8d70971dbf228460904dd9b6217e911d088aa4b650c
Status: Downloaded newer image for golang:1.14.4
---> 00d970a31ef2
Step 2/7 : WORKDIR /app
---> Running in e97ed3d74803
Removing intermediate container e97ed3d74803
---> 5d7ce43baf0e
Step 3/7 : COPY go.mod go.sum maillog2db.go ./
---> 83f6f84c1d84
Step 4/7 : RUN go mod download && CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-extldflags "-static"' -o app
---> Running in fe25cf86d7eb
go: github.com/ActiveState/tail@v1.0.0: Get "https://proxy.golang.org/github.com/%21active%21state/tail/@v/v1.0.0.mod": dial tcp: i/o timeout
The command '/bin/sh -c go mod download && CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-extldflags "-static"' -o app' returned a non-zero code: 1

@ghost
Copy link

ghost commented Apr 1, 2021

What is yours operating system ?

@rdemendoza
Copy link
Author

It's Ubuntu 18.04.5

Docker version:
Client: Docker Engine - Community
Version: 20.10.5
API version: 1.41
Go version: go1.13.15
Git commit: 55c4c88
Built: Tue Mar 2 20:18:05 2021
OS/Arch: linux/amd64
Context: default
Experimental: true

Server: Docker Engine - Community
Engine:
Version: 20.10.5
API version: 1.41 (minimum version 1.12)
Go version: go1.13.15
Git commit: 363e9a8
Built: Tue Mar 2 20:16:00 2021
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.4.4
GitCommit: 05f951a3781f4f2c1911b05e61c160e9c30eaa8e
runc:
Version: 1.0.0-rc93
GitCommit: 12644e614e25b05da6fd08a38ffa0cfe1903fdec
docker-init:
Version: 0.19.0
GitCommit: de40ad0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant