arm64 runs faster

This commit is contained in:
jandre 2021-07-18 13:40:38 +02:00
parent ba80d2c83c
commit 84347314fd
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# Build a small image
FROM arm32v7/alpine:3.12
FROM arm64v8/alpine:3.14
RUN apk add --no-cache su-exec restic postgresql-client
COPY bin/formolcli /usr/local/bin

View File

@ -3,7 +3,7 @@
IMG ?= desmo999r/formolcli:latest
formolcli: fmt vet
GO111MODULE=on CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -o bin/formolcli main.go
GO111MODULE=on CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o bin/formolcli main.go
test: fmt vet
go test ./... -coverprofile cover.out