mirror of
https://github.com/alexgo-io/stacks-subnets.git
synced 2026-01-12 16:53:24 +08:00
feat: add git hash to --version / version outputs
This commit is contained in:
@@ -6,7 +6,7 @@ COPY . .
|
||||
|
||||
RUN rustup target add aarch64-unknown-linux-gnu
|
||||
|
||||
RUN apt-get update && apt-get install -y gcc-aarch64-linux-gnu
|
||||
RUN apt-get update && apt-get install -y git gcc-aarch64-linux-gnu
|
||||
|
||||
RUN CC=aarch64-linux-gnu-gcc \
|
||||
CC_aarch64_unknown_linux_gnu=aarch64-linux-gnu-gcc \
|
||||
|
||||
@@ -6,7 +6,7 @@ COPY . .
|
||||
|
||||
RUN rustup target add armv7-unknown-linux-gnueabihf
|
||||
|
||||
RUN apt-get update && apt-get install -y gcc-arm-linux-gnueabihf
|
||||
RUN apt-get update && apt-get install -y git gcc-arm-linux-gnueabihf
|
||||
|
||||
RUN CC=arm-linux-gnueabihf-gcc \
|
||||
CC_armv7_unknown_linux_gnueabihf=arm-linux-gnueabihf-gcc \
|
||||
|
||||
@@ -6,7 +6,7 @@ COPY . .
|
||||
|
||||
RUN rustup target add x86_64-unknown-linux-musl
|
||||
|
||||
RUN apt-get update && apt-get install -y musl-tools
|
||||
RUN apt-get update && apt-get install -y git musl-tools
|
||||
|
||||
RUN CC=musl-gcc \
|
||||
CC_x86_64_unknown_linux_musl=musl-gcc \
|
||||
|
||||
@@ -4,6 +4,8 @@ WORKDIR /src
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN apt-get update && apt-get install -y git
|
||||
|
||||
RUN rustup target add x86_64-unknown-linux-gnu
|
||||
|
||||
RUN cargo build --release --workspace=./ --target x86_64-unknown-linux-gnu
|
||||
|
||||
@@ -6,7 +6,7 @@ COPY . .
|
||||
|
||||
RUN rustup target add x86_64-apple-darwin
|
||||
|
||||
RUN apt-get update && apt-get install -y clang
|
||||
RUN apt-get update && apt-get install -y git clang
|
||||
|
||||
RUN wget -nc "https://github.com/blockstackpbc/osxcross/releases/download/v1/osxcross-e0a1718_xcode-v10.2.1.tar.xz" && \
|
||||
tar --checkpoint=25000 -xf "osxcross-e0a1718_xcode-v10.2.1.tar.xz" -C /tmp && \
|
||||
|
||||
@@ -6,7 +6,7 @@ COPY . .
|
||||
|
||||
RUN rustup target add x86_64-pc-windows-gnu
|
||||
|
||||
RUN apt-get update && apt-get install -y gcc-mingw-w64-x86-64
|
||||
RUN apt-get update && apt-get install -y git gcc-mingw-w64-x86-64
|
||||
|
||||
RUN CC_x86_64_pc_windows_gnu=x86_64-w64-mingw32-gcc \
|
||||
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER=x86_64-w64-mingw32-gcc \
|
||||
|
||||
Reference in New Issue
Block a user