Skip to content

Commit 4816ea1

Browse files
author
Alexander Voigt
committed
chore: add ARM architecture
1 parent 63c8be6 commit 4816ea1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM golang:alpine AS builder
22
RUN apk update && apk add --no-cache ca-certificates git && update-ca-certificates
33
COPY . /app
4-
RUN cd /app && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o app .
4+
RUN cd /app && CGO_ENABLED=0 GOOS=linux go build -o app .
55

66
FROM scratch
77
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ test:
1414
go test -vet=all ./...
1515

1616
docker:
17-
docker buildx build --tag aoepeople/vistecture-dashboard:latest --platform linux/amd64 .
17+
docker buildx build --tag aoepeople/vistecture-dashboard:latest --platform linux/amd64,linux/arm64 .
1818

1919
dockerpublish:
2020
docker buildx build \
2121
--push \
2222
--tag aoepeople/vistecture-dashboard:latest \
2323
--tag aoepeople/vistecture-dashboard:$(VERSION) \
24-
--platform linux/amd64 .
24+
--platform linux/amd64,linux/arm64 .

0 commit comments

Comments
 (0)