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
I get following errors when trying to build an image with dockerfile, the command is go get yarascanner
src/github.com/hillu/go-yara/compiler_yara37.go:87:3: could not determine kind of name for C.YR_COMPILER_INCLUDE_CALLBACK_FUNC
src/github.com/hillu/go-yara/compiler_yara37.go:88:3: could not determine kind of name for C.YR_COMPILER_INCLUDE_FREE_FUNC
src/github.com/hillu/go-yara/compiler_yara37.go:42:2: could not determine kind of name for C.yr_compiler_set_include_callback
Here is my Dockerfile
FROM jheise/ubuntu-golang
RUN apt-get update && apt-get install -y libyara-dev git
RUN mkdir -p /go/src/yarascanner
ADD *.go /go/src/yarascanner/
RUN apt-get install -y pkg-config
RUN go get yarascanner
RUN go install yarascanner
RUN git clone https://github.com/Yara-Rules/rules.git /rules
RUN mkdir /uploads
ENV IPADDR 0.0.0.0
ENV PORT 9999
ENV UPLOADS /uploads
ENV INDEXES -i /rules/malware_index.yar
EXPOSE ${PORT}
CMD /go/bin/yarascanner -address ${IPADDR} -port ${PORT} -uploads ${UPLOADS} ${INDEXES}
The text was updated successfully, but these errors were encountered:
I get following errors when trying to build an image with dockerfile, the command is
go get yarascanner
Here is my Dockerfile
The text was updated successfully, but these errors were encountered: