diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index a4e6f54..450df48 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -23,7 +23,7 @@ jobs: - name: Build and test application run: | mkdir bin - GOOS=linux GOARCH=amd64 go build -o ./bin/metrics ./cmd + GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o ./bin/metrics ./cmd - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 diff --git a/Dockerfile b/Dockerfile index 1a50363..3f355ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:stable-slim +FROM alpine:3.22 COPY ./bin/metrics /bin