Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RomarQ committed Jan 23, 2025
1 parent 1d0f61e commit 66da592
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflow-templates/cargo-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ runs:
--build-arg="BUILD_PARAMS=$params" \
--build-arg="RUSTFLAGS=$RUSTFLAGS" \
-f $(pwd)/docker/moonbeam-builder.Dockerfile $(pwd)
ls -al ./target
# Copy target folder
docker rm -f dummy 2> /dev/null | true
docker create -ti --name dummy ci bash
docker cp dummy:/build/target target
docker rm -f dummy
ls -al ./target
GLIBC_VERSION="$(objdump -T ./target/release/moonbeam | grep "GLIBC_" | sed 's/.*GLIBC_\([.0-9]*\).*/\1/g' | sort -Vu | tail -1)"
if [[ $GLIBC_VERSION == "2.34" ]]; then
Expand Down
1 change: 0 additions & 1 deletion docker/moonbeam-builder.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ ENV DEBIAN_FRONTEND=noninteractive

WORKDIR /build
COPY . /build/
RUN ls -al /build

RUN echo "*** Installing Basic dependencies ***"
RUN apt-get update && apt-get install -y ca-certificates && update-ca-certificates
Expand Down

0 comments on commit 66da592

Please sign in to comment.