[Buildkite] Update musl-cross-make toolchain to gcc 9.2.0 (#703)
Built using `musl-1.1.24`, `linux-headers-headers-4.19.88`pull/706/head
parent
8b80be4061
commit
0d9a5812c7
|
@ -5,12 +5,12 @@ FROM golang:1.14.0-alpine AS builder-backend
|
||||||
|
|
||||||
ARG BUILD_TAG
|
ARG BUILD_TAG
|
||||||
ARG BUILD_COMMIT
|
ARG BUILD_COMMIT
|
||||||
ARG CC_VERSION="v14"
|
ARG CC_VERSION="v15"
|
||||||
|
|
||||||
# gcc cross-compiler is required for building go-sqlite3
|
# gcc cross-compiler is required for building go-sqlite3
|
||||||
RUN apk --no-cache add curl && \
|
RUN apk --no-cache add curl && \
|
||||||
curl -Lfs -o /tmp/gcc-7.3.0-arm-linux-musleabihf.tar.xz "https://github.com/just-containers/musl-cross-make/releases/download/${CC_VERSION}/gcc-7.3.0-arm-linux-musleabihf.tar.xz" && \
|
curl -Lfs -o /tmp/gcc-9.2.0-arm-linux-musleabihf.tar.xz "https://github.com/just-containers/musl-cross-make/releases/download/${CC_VERSION}/gcc-9.2.0-arm-linux-musleabihf.tar.xz" && \
|
||||||
tar xf /tmp/gcc-7.3.0-arm-linux-musleabihf.tar.xz -C /
|
tar xf /tmp/gcc-9.2.0-arm-linux-musleabihf.tar.xz -C /
|
||||||
|
|
||||||
WORKDIR /go/src/app
|
WORKDIR /go/src/app
|
||||||
|
|
||||||
|
|
|
@ -5,12 +5,12 @@ FROM golang:1.14.0-alpine AS builder-backend
|
||||||
|
|
||||||
ARG BUILD_TAG
|
ARG BUILD_TAG
|
||||||
ARG BUILD_COMMIT
|
ARG BUILD_COMMIT
|
||||||
ARG CC_VERSION="v14"
|
ARG CC_VERSION="v15"
|
||||||
|
|
||||||
# gcc cross-compiler is required for building go-sqlite3
|
# gcc cross-compiler is required for building go-sqlite3
|
||||||
RUN apk --no-cache add curl && \
|
RUN apk --no-cache add curl && \
|
||||||
curl -Lfs -o /tmp/gcc-7.3.0-aarch64-linux-musl.tar.xz "https://github.com/just-containers/musl-cross-make/releases/download/${CC_VERSION}/gcc-7.3.0-aarch64-linux-musl.tar.xz" && \
|
curl -Lfs -o /tmp/gcc-9.2.0-aarch64-linux-musl.tar.xz "https://github.com/just-containers/musl-cross-make/releases/download/${CC_VERSION}/gcc-9.2.0-aarch64-linux-musl.tar.xz" && \
|
||||||
tar xf /tmp/gcc-7.3.0-aarch64-linux-musl.tar.xz -C /
|
tar xf /tmp/gcc-9.2.0-aarch64-linux-musl.tar.xz -C /
|
||||||
|
|
||||||
WORKDIR /go/src/app
|
WORKDIR /go/src/app
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue