Switch to carlosedp/golang for riscv64 support

This commit is contained in:
Xiaonan Shen
2022-11-06 13:15:08 +08:00
parent 6a2a413d0a
commit 252397a86d
2 changed files with 11 additions and 9 deletions

View File

@@ -1,7 +1,8 @@
FROM golang:1.18 AS build
# Use carlosedp/golang for riscv64 support
FROM carlosedp/golang:1.18 AS build
# Install dependencies
RUN apt-get update && apt-get install -y libsecret-1-dev
RUN apt-get update && apt-get install -y git build-essential libsecret-1-dev
# Build
WORKDIR /build/