build: upgrade opencv
This commit is contained in:
parent
9d07f2f0b8
commit
bcfcb67e26
@ -1,7 +1,9 @@
|
||||
FROM golang:1.17-alpine as gobuilder
|
||||
ARG OPENCV_VERSION=v4.5.3
|
||||
|
||||
FROM docker.io/library/golang:1.17-alpine as gobuilder
|
||||
|
||||
|
||||
FROM cyrilix/opencv-buildstage:4.2.0 as builder
|
||||
FROM cyrilix/opencv-buildstage:${OPENCV_VERSION} as builder
|
||||
|
||||
LABEL maintainer="Cyrille Nofficial"
|
||||
|
||||
@ -24,7 +26,7 @@ RUN CGO_LDFLAGS="$(pkg-config --libs opencv4)" \
|
||||
|
||||
|
||||
|
||||
FROM cyrilix/opencv-runtime:4.2.0
|
||||
FROM cyrilix/opencv-runtime:${OPENCV_VERSION}
|
||||
|
||||
ENV LD_LIBRARY_PATH /usr/local/lib:/usr/local/lib64
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user