Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install bindgen from bindgen-cli package #127

Merged
merged 1 commit into from
Oct 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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