Skip to content

[ABOUT BUILD] go mod may effect the kernel/kernel.json place #183

Closed
@yutiansut

Description

@yutiansut

@sbinet

the kernel.json used to be inplaced in /go/src/

which in Dockerfile

    && mkdir -p ~/.local/share/jupyter/kernels/gophernotes \
    && cp -r /go/src/github.com/gopherdata/gophernotes/kernel/* ~/.local/share/jupyter/kernels/gophernotes \
    ## clean

while in 0.5 version, gophernotes been installed as a go mod, while actually the kernel.json in

/root/go/pkg/mod/github.com/gopherdata/gophernotes@v0.5.0/kernel

so maybe affected by this change

maybe change this to

RUN cd ~/.local/share/jupyter/kernels/gophernotes \
  && wget https://raw.githubusercontent.com/gopherdata/gophernotes/master/kernel/kernel.json \
  && wget https://raw.githubusercontent.com/gopherdata/gophernotes/master/kernel/logo-32x32.png \
 && https://raw.githubusercontent.com/gopherdata/gophernotes/master/kernel/logo-64x64.png 

would be better

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions