Skip to content

Commit

Permalink
Fix to Dockerfile to cope with buildah differences
Browse files Browse the repository at this point in the history
  • Loading branch information
ibmmqmet committed Jan 2, 2024
1 parent a5b5ad1 commit d389b8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ COPY --chmod=777 ./cmd/${EXPORTER} .
COPY --chmod=777 vendor ./vendor
COPY --chmod=777 pkg ./pkg
# This file holds something like the current commit level if it exists in your tree. It might not be there, so
# we use wildcards to avoid errors on non-existent files/dirs.
COPY --chmod=777 ./.git*/refs/heads/master* .
# we use wildcards and a known file to avoid errors on non-existent files/dirs.
COPY --chmod=777 README.md ./.git*/refs/heads/master* .
RUN buildStamp=`date +%Y%m%d-%H%M%S`; \
hw=`uname -m`; \
os=`uname -s`; \
Expand Down

0 comments on commit d389b8d

Please sign in to comment.