[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
Amir Zarrinkafsh 2020-03-14 22:45:55 +11:00 committed by GitHub
parent 8b80be4061
commit 0d9a5812c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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