mirror of
https://github.com/grafana/grafana.git
synced 2025-02-03 20:21:01 -06:00
Docker: Allow to get commit sha when using root Dockerfile (#65870)
* Allow to get commit sha when using root Dockerfile
This commit is contained in:
parent
87a0c95164
commit
ac09372abf
@ -37,7 +37,7 @@ ARG BINGO="true"
|
||||
|
||||
# Install build dependencies
|
||||
RUN if grep -i -q alpine /etc/issue; then \
|
||||
apk add --no-cache gcc g++ make; \
|
||||
apk add --no-cache gcc g++ make git; \
|
||||
fi
|
||||
|
||||
WORKDIR /tmp/grafana
|
||||
@ -62,6 +62,7 @@ COPY pkg pkg
|
||||
COPY scripts scripts
|
||||
COPY conf conf
|
||||
COPY .github .github
|
||||
COPY .git .git
|
||||
|
||||
RUN make build-go GO_BUILD_TAGS=${GO_BUILD_TAGS} WIRE_TAGS=${WIRE_TAGS}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user