mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-29 23:30:04 +01:00
6f24fa2055
* 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
10 lines
377 B
Docker
10 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
|