You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 11, 2022. It is now read-only.
What is the current behavior?
When I create a new container from Dockerfile within git repo (master branch), I am getting the following error, please read lines 28-31 below:
1 pi@raspberrypi:~/docker-txwifi $ docker build -t txwifi .
2 Sending build context to Docker daemon 2.56kB
3 Step 1/14 : FROM arm32v6/golang:1.10.1-alpine3.7 AS builder
4 1.10.1-alpine3.7: Pulling from arm32v6/golang
5 95d54dd4bdad: Pull complete
6 72bf7d76c392: Pull complete
7 78bbf490f4d6: Pull complete
8 c07c7b2c41ac: Pull complete
9 d9815fe4c941: Pull complete
10 Digest: 11 sha256:d98cc903f00f47488b65984ec9e0fc1c8c8ce2bc123a7e3b661d2c64152d80df
12 Status: Downloaded newer image for arm32v6/golang:1.10.1-alpine3.7
13 ---> 68c10e8072f5
14 Step 2/14 : ENV GOPATH /go
15 ---> Running in ec6df367d210
16 Removing intermediate container ec6df367d210
17 ---> 1420d862500a
18 Step 3/14 : WORKDIR /go/src
19 ---> Running in 6427adb2ab76
20 Removing intermediate container 6427adb2ab76
21 ---> e5109b34512a
22 Step 4/14 : RUN mkdir -p /go/src/github.com/txn2/txwifi
23 ---> Running in 2af4df821a6e
24 Removing intermediate container 2af4df821a6e
25 ---> d9cb4788223d
26 Step 5/14 : COPY . /go/src/github.com/txn2/txwifi
27 ---> 40e58c5cc646
28 Step 6/14 : RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o /go/bin/wifi /go/src/github.com/txn2/txwifi/main.go
29 ---> Running in 5c060d01de77
30 stat /go/src/github.com/txn2/txwifi/main.go: no such file or directory
31 The command '/bin/sh -c CGO_ENABLED=0 go build -a -installsuffix cgo -o /go/bin/wifi /go/src/github.com/txn2/txwifi/main.go' returned a non-zero code: 1
32 pi@raspberrypi:~/docker-txwifi $
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
pi@raspberrypi:~ $ docker version
Client: Docker Engine - Community
Version: 19.03.1
API version: 1.40
Go version: go1.12.5
Git commit: 74b1e89
Built: Thu Jul 25 21:32:16 2019
OS/Arch: linux/arm
Experimental: false
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
I'm submitting a ...
What is the current behavior?
When I create a new container from Dockerfile within git repo (master branch), I am getting the following error, please read lines 28-31 below:
What is the expected behavior?
docker image created
What is the motivation / use case for changing the behavior?
docker image should contain latest commits from the git repo
Please tell us about your environment: