Skip to content

Commit

Permalink
Merge pull request #127 from artichoke/lopopolo/bindgen-cli-v0.61.0
Browse files Browse the repository at this point in the history
Install bindgen from `bindgen-cli` package
  • Loading branch information
lopopolo authored Oct 22, 2022
2 parents 4f974c3 + 060d77c commit 7eea648
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-Clink-self-contained=yes
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true

# Install bindgen
ARG BINDGEN_VERSION=0.60.1
ARG BINDGEN_PACKAGE=bindgen-cli
ARG BINDGEN_VERSION=0.61.0
RUN set -eux; \
rustup component add rustfmt; \
cargo install --version $BINDGEN_VERSION --locked bindgen; \
cargo install --version $BINDGEN_VERSION --locked $BINDGEN_PACKAGE; \
bindgen --version

ARG TARGETPLATFORM
Expand Down
5 changes: 3 additions & 2 deletions debian/bullseye/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true

# Install bindgen
ARG BINDGEN_VERSION=0.60.1
ARG BINDGEN_PACKAGE=bindgen-cli
ARG BINDGEN_VERSION=0.61.0
RUN set -eux; \
rustup component add rustfmt; \
cargo install --version $BINDGEN_VERSION --locked bindgen; \
cargo install --version $BINDGEN_VERSION --locked $BINDGEN_PACKAGE; \
bindgen --version

ARG TARGETPLATFORM
Expand Down
5 changes: 3 additions & 2 deletions ubuntu/focal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,11 @@ ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true

# Install bindgen
ARG BINDGEN_VERSION=0.60.1
ARG BINDGEN_PACKAGE=bindgen-cli
ARG BINDGEN_VERSION=0.61.0
RUN set -eux; \
rustup component add rustfmt; \
cargo install --version $BINDGEN_VERSION --locked bindgen; \
cargo install --version $BINDGEN_VERSION --locked $BINDGEN_PACKAGE; \
bindgen --version

ARG TARGETPLATFORM
Expand Down

0 comments on commit 7eea648

Please sign in to comment.