mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
41bf9a481a
* setup docker buildx * add snyk integration * add go cache for docker build * cancel redundant job if there is new commit into same PR or branch
9 lines
377 B
Docker
9 lines
377 B
Docker
ARG go_builder_image
|
|
FROM $go_builder_image
|
|
STOPSIGNAL SIGINT
|
|
RUN apk add git gcc musl-dev make wget --no-cache && \
|
|
mkdir /opt/cross-builder && \
|
|
wget https://musl.cc/aarch64-linux-musl-cross.tgz -O /opt/cross-builder/aarch64-musl.tgz --no-verbose && \
|
|
cd /opt/cross-builder && \
|
|
tar zxf aarch64-musl.tgz -C ./ && \
|
|
rm /opt/cross-builder/aarch64-musl.tgz
|