From 84347314fd72e93badf73bac82c2381a007add9f Mon Sep 17 00:00:00 2001 From: Jean-Marc Andre Date: Sun, 18 Jul 2021 13:40:38 +0200 Subject: [PATCH] arm64 runs faster --- Dockerfile | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8f8be5a..15086dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Makefile b/Makefile index d0c8f9a..c64d981 100644 --- a/Makefile +++ b/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