Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Creating docker image encounters issues #165

Open
jngngr opened this issue Jan 24, 2017 · 2 comments
Open

Creating docker image encounters issues #165

jngngr opened this issue Jan 24, 2017 · 2 comments

Comments

@jngngr
Copy link

jngngr commented Jan 24, 2017

Hi

I did a git clone and tried out the docker image via "docker build -t snickers ."

The Docker image creation process encountered these issues:

~/snickers$ docker build -t snickers .
Sending build context to Docker daemon 26.44 MB
Step 1 : FROM flavioribeiro/snickers-docker:v3
v3: Pulling from flavioribeiro/snickers-docker
96c6a1f3c3b0: Pull complete 
ed40d4bcb313: Pull complete 
b171f9dbc13b: Pull complete 
ccfc4df4fbba: Pull complete 
f25c32d403b2: Pull complete 
6d1d0da2ceae: Pull complete 
caaade6bda3c: Pull complete 
c1a9335abfc7: Pull complete 
29a8f3f4b281: Pull complete 
e44f83bada2b: Pull complete 
f8366cb1d5e7: Pull complete 
Digest: sha256:31e8bccb9c0721713c5decb1f1a6c6deded04e5cabf0b8d3af55185ae7db546c
Status: Downloaded newer image for flavioribeiro/snickers-docker:v3
 ---> 58f1d4a8c557
Step 2 : RUN go get -u github.com/snickers/snickers
 ---> Running in a8a5417d8a0b
# github.com/3d0c/gmf
go/src/github.com/3d0c/gmf/frame.go: In function '_cgo_87b2ca8c47aa_Cfunc_avcodec_encode_audio2':
go/src/github.com/3d0c/gmf/frame.go:180:2: warning: 'avcodec_encode_audio2' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:5239) [-Wdeprecated-declarations]
  //the codec gives us the frame size, in samples,
  ^
go/src/github.com/3d0c/gmf/frame.go: In function '_cgo_87b2ca8c47aa_Cfunc_avcodec_encode_video2':
go/src/github.com/3d0c/gmf/frame.go:197:2: warning: 'avcodec_encode_video2' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:5278) [-Wdeprecated-declarations]
  }
  ^
# github.com/3d0c/gmf
go/src/github.com/3d0c/gmf/packet.go: In function '_cgo_87b2ca8c47aa_Cfunc_avcodec_decode_audio4':
go/src/github.com/3d0c/gmf/packet.go:87:2: warning: 'avcodec_decode_audio4' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:4721) [-Wdeprecated-declarations]
  var ret int = 0
  ^
go/src/github.com/3d0c/gmf/packet.go: In function '_cgo_87b2ca8c47aa_Cfunc_avcodec_decode_video2':
go/src/github.com/3d0c/gmf/packet.go:104:2: warning: 'avcodec_decode_video2' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:4770) [-Wdeprecated-declarations]
   break
  ^
# github.com/3d0c/gmf
go/src/github.com/3d0c/gmf/stream.go: In function '_cgo_87b2ca8c47aa_Cfunc_avcodec_copy_context':
go/src/github.com/3d0c/gmf/stream.go:45:2: warning: 'avcodec_copy_context' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:4199) [-Wdeprecated-declarations]
  // If the codec context wasn't set, it means that it's called from InputCtx
  ^
# github.com/snickers/hls/segmenter
/usr/bin/ld: cannot find -lsegmenter
collect2: error: ld returned 1 exit status
The command '/bin/sh -c go get -u github.com/snickers/snickers' returned a non-zero code: 2

Any tips on how to proceed?

Thanks!

@lucaguindani
Copy link

same here

@millad90s
Copy link

millad90s commented May 2, 2017

same to me. any Idea ?
Solved .
just remove hls -> (rm -rf github.com/snickers/hls/)
folder and clone form git --> (git clone https://github.com/snickers/hls.git) to github.com/snickers/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants