fix generation of Docker images (#1293)
This commit is contained in:
parent
c44b4099c2
commit
99855e0909
|
@ -1,5 +1,5 @@
|
||||||
# do not add .git, since it is needed to extract the tag
|
# do not add .git, since it is needed to extract the tag
|
||||||
|
# do not add /binaries, since they're needed by make dockerhub
|
||||||
/tmp
|
/tmp
|
||||||
/binaries
|
|
||||||
/coverage*.txt
|
/coverage*.txt
|
||||||
/apidocs/*.html
|
/apidocs/*.html
|
||||||
|
|
|
@ -22,6 +22,7 @@ COPY . ./
|
||||||
|
|
||||||
ENV VERSION $(shell git describe --tags)
|
ENV VERSION $(shell git describe --tags)
|
||||||
ENV CGO_ENABLED 0
|
ENV CGO_ENABLED 0
|
||||||
|
RUN rm -rf binaries
|
||||||
RUN mkdir tmp binaries
|
RUN mkdir tmp binaries
|
||||||
RUN cp rtsp-simple-server.yml LICENSE tmp/
|
RUN cp rtsp-simple-server.yml LICENSE tmp/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue