gopherdata / gopherdata/gophernotes

Error during Docker build under Debian/Ubuntu

未关闭
#188 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
4k
派生
264
平均合并
7 天 21 小时
30 天内合并 PR
1

描述

Hi,
I'm building Debian 10 dockerfile through Anaconda

> FROM bitnami/minideb:latest
> (Debian 10)
> ([... install conda, jupyter lab, nodejs, some build libs ...])
> RUN conda install go
> ENV GOPATH="/go"
> ENV PATH="$PATH:/opt/conda/go"
>
> RUN go version
>
> RUN apt-get update && apt-get install -yq --no-install-recommends libzmq3-dev pkg-config
> RUN go get -u github.com/gopherdata/gophernotes

I'm getting error as such:

> go version go1.12.5 linux/amd64
> pkg-config is already the newest version (0.29-6).
> libzmq3-dev is already the newest version (4.3.1-4+deb10u1).
>
> github.com/gopherdata/gophernotes/vendor/github.com/pebbe/zmq4
> /go/src/github.com/gopherdata/gophernotes/vendor/github.com/pebbe/zmq4/reactor.go:10:4: undefined: State
>
> /go/src/github.com/gopherdata/gophernotes/vendor/github.com/pebbe/zmq4/reactor.go:11:9: undefined: State

This install worked few weeks ago with Alpine, but I have switched to Debian since then. Possibly an issue with `zmq4` not being found by go? Or maybe something not in $PATH?

![image](https://user-images.githubusercontent.com/3856578/69476098-48429000-0dcd-11ea-893b-aa0a5992e7e3.png)

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。