Skip to content

Commit

Permalink
Merge pull request #61 from camrossi/master
Browse files Browse the repository at this point in the history
MultiArch Support
  • Loading branch information
thenodon authored Jun 22, 2024
2 parents 41a34b4 + 0e988de commit 718ce66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ FROM golang:alpine as builder
# Set necessary environmet variables needed for our image
ENV GO111MODULE=on \
CGO_ENABLED=0 \
GOOS=linux \
GOARCH=amd64
GOOS=linux

# Move to working directory /build
WORKDIR /build
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -577,10 +577,10 @@ To get the metrics in openmetrics format use the header `Accept: application/ope
Please see the example file prometheus/prometheus.yml.

# Docker
The aci-export can be build and run as a docker container.
The aci-export can be build and run as a docker container and it supports multi-arch.

```shell
docker build . -t aci-exporter
docker buildx build . -t regystry/aci-exporter:Version --platform=linux/arm64,linux/amd64 --push
```

To run as docker use environment variables to define configuration.
Expand Down

0 comments on commit 718ce66

Please sign in to comment.