fix generation of Docker images (#1293)

This commit is contained in:
aler9 2022-12-12 10:44:30 +01:00
parent c44b4099c2
commit 99855e0909
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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/