fix: bring back GIT revision to our prod images (#3537)
This was likely broken since #3313 and leads to IOx reporting `UKNOWN` instead of a proper GIT revision. Having the latter one available can be very useful for debugging a binary or if you look through log files (we print the IOx version and revision during server startup). Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>pull/24376/head
parent
1c2681c24e
commit
7feb10dd30
|
|
@ -6,7 +6,7 @@ FROM rust:${RUST_VERSION}-slim-bullseye as build
|
|||
USER root
|
||||
|
||||
RUN apt update \
|
||||
&& apt install --yes binutils build-essential pkg-config libssl-dev clang lld \
|
||||
&& apt install --yes binutils build-essential pkg-config libssl-dev clang lld git \
|
||||
&& rm -rf /var/lib/{apt,dpkg,cache,log}
|
||||
|
||||
# Build influxdb_iox
|
||||
|
|
|
|||
|
|
@ -2,4 +2,5 @@
|
|||
target/
|
||||
tests/
|
||||
docker/
|
||||
!.git/
|
||||
!docker/entrypoint.sh
|
||||
|
|
|
|||
Loading…
Reference in New Issue