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
When I try and run my tests on docker they fail due to some configuration in the image itself. The same code works just fine with using another docker image like golang:latest. I can also replace it with go run file.go and it works. The go test command just hangs with no response.
Using a very simple setup of Docker like so (doesn't work):
FROM balenalib/raspberry-pi-debian-golang:latest
WORKDIR /go/src/app
COPY . .
RUN go mod download
CMD ["go", "test", "./..."]
Does work:
FROM golang:latest
WORKDIR /go/src/app
COPY . .
RUN go mod download
CMD ["go", "test", "./..."]
This goes for any of the raspberry-pi* images like buster, debian, etc.
The text was updated successfully, but these errors were encountered:
When I try and run my tests on docker they fail due to some configuration in the image itself. The same code works just fine with using another docker image like
golang:latest
. I can also replace it withgo run file.go
and it works. Thego test
command just hangs with no response.Using a very simple setup of Docker like so (doesn't work):
Does work:
This goes for any of the raspberry-pi* images like buster, debian, etc.
The text was updated successfully, but these errors were encountered: