arm64 runs faster
This commit is contained in:
parent
ba80d2c83c
commit
84347314fd
@ -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
|
||||
|
||||
2
Makefile
2
Makefile
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user