Skip to content

Commit

Permalink
fix file check for dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Dec 14, 2023
1 parent aec72cb commit 4d16cbf
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 @@ -21,9 +21,9 @@ COPY . /code
# then log output of file /code/bin/meshd
# then ensure static linking
RUN cd demo/ && LEDGER_ENABLED=false BUILD_TAGS=muslc LINK_STATICALLY=true make build \
&& file /code/build/meshd \
&& file /code/demo/build/meshd \
&& echo "Ensuring binary is statically linked ..." \
&& (file /code/build/meshd | grep "statically linked")
&& (file /code/demo/build/meshd | grep "statically linked")

# --------------------------------------------------------
FROM alpine:3.16
Expand Down

0 comments on commit 4d16cbf

Please sign in to comment.