Skip to content

Commit d389b8d

Browse files
committed
Fix to Dockerfile to cope with buildah differences
1 parent a5b5ad1 commit d389b8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ COPY --chmod=777 ./cmd/${EXPORTER} .
100100
COPY --chmod=777 vendor ./vendor
101101
COPY --chmod=777 pkg ./pkg
102102
# This file holds something like the current commit level if it exists in your tree. It might not be there, so
103-
# we use wildcards to avoid errors on non-existent files/dirs.
104-
COPY --chmod=777 ./.git*/refs/heads/master* .
103+
# we use wildcards and a known file to avoid errors on non-existent files/dirs.
104+
COPY --chmod=777 README.md ./.git*/refs/heads/master* .
105105
RUN buildStamp=`date +%Y%m%d-%H%M%S`; \
106106
hw=`uname -m`; \
107107
os=`uname -s`; \

0 commit comments

Comments
 (0)