From 99855e09096c6df7fbc3393e34aed5414bf44e8c Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Mon, 12 Dec 2022 10:44:30 +0100 Subject: [PATCH] fix generation of Docker images (#1293) --- .dockerignore | 2 +- scripts/binaries.mk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 0ce4cd31..898786b3 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,5 +1,5 @@ # do not add .git, since it is needed to extract the tag +# do not add /binaries, since they're needed by make dockerhub /tmp -/binaries /coverage*.txt /apidocs/*.html diff --git a/scripts/binaries.mk b/scripts/binaries.mk index 412eee1b..5c7cbf96 100644 --- a/scripts/binaries.mk +++ b/scripts/binaries.mk @@ -22,6 +22,7 @@ COPY . ./ ENV VERSION $(shell git describe --tags) ENV CGO_ENABLED 0 +RUN rm -rf binaries RUN mkdir tmp binaries RUN cp rtsp-simple-server.yml LICENSE tmp/