Add: .git dir to build image to expose git hash for version

Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>
This commit is contained in:
Dmitry Dunaev
2021-12-08 10:27:29 +03:00
parent f5ee31bd8b
commit 1b59208fa2

View File

@@ -56,6 +56,7 @@ RUN make install
ADD CMakeLists.txt build /owfms/
ADD cmake /owfms/cmake
ADD src /owfms/src
ADD .git /owgw/.git
WORKDIR /owfms
RUN mkdir cmake-build