owenthereal / jqplay

A playground for jq, written in Go
https://jqplay.org
MIT License
743 stars 88 forks source link

docker build error #74

Closed diceone closed 10 months ago

diceone commented 6 years ago

docker build -t jqplay . produces:

Removing intermediate container d3df0807b5e5 Step 4/8 : ADD . $GOPATH/src/github.com/jingweno/jqplay ---> b7c56fefd4d9 Step 5/8 : WORKDIR $GOPATH/src/github.com/jingweno/jqplay ---> a75ebd268fa3 Removing intermediate container 0ddb40fa3277 Step 6/8 : RUN bin/build ---> Running in dd20753b0273 github.com/jingweno/jqplay/server server/server.go:83: srv.Shutdown undefined (type *http.Server has no field or method Shutdown) The command '/bin/sh -c bin/build' returned a non-zero code: 2

sammcj commented 5 years ago

Still occurring:

Setting up npm (1.4.21+ds-2) ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
npm WARN engine grunt-cli@1.3.2: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine ret@0.1.15: wanted: {"node":">=0.12"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine ret@0.1.15: wanted: {"node":">=0.12"} (current: {"node":"0.10.29","npm":"1.4.21"})
npm WARN engine atob@2.1.2: wanted: {"node":">= 4.5.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
/usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt-cli/bin/grunt
/usr/local/bin/bower -> /usr/local/lib/node_modules/bower/bin/bower
grunt-cli@1.3.2 /usr/local/lib/node_modules/grunt-cli
├── grunt-known-options@1.1.1
├── interpret@1.1.0
├── v8flags@3.1.2 (homedir-polyfill@1.0.1)
├── nopt@4.0.1 (abbrev@1.1.1, osenv@0.1.5)
└── liftoff@2.5.0 (flagged-respawn@1.0.1, rechoir@0.6.2, extend@3.0.2, is-plain-object@2.0.4, object.map@1.0.1, fined@1.1.1, resolve@1.10.0, findup-sync@2.0.0)

bower@1.8.8 /usr/local/lib/node_modules/bower
Removing intermediate container db60e5124d22
 ---> bfe66a079a29
Step 3/8 : ENV PORT 80
 ---> Running in cd45bfde06f3
Removing intermediate container cd45bfde06f3
 ---> 3912587fdd35
Step 4/8 : ADD . $GOPATH/src/github.com/jingweno/jqplay
 ---> e4b18e148098
Step 5/8 : WORKDIR $GOPATH/src/github.com/jingweno/jqplay
 ---> Running in ff8ee7b6efd6
Removing intermediate container ff8ee7b6efd6
 ---> 9e3872046214
Step 6/8 : RUN bin/build
 ---> Running in 4850b77a1ecd
# github.com/jingweno/jqplay/server
server/server.go:83: srv.Shutdown undefined (type *http.Server has no field or method Shutdown)
The command '/bin/sh -c bin/build' returned a non-zero code: 2
loganmarchione commented 1 year ago

@diceone @sammcj - Is this still an issue? You should be able to run make start which is the equivalent of running docker-compose up --build --force-recreate and then jqplay should be available at http://localhost:8080/.