From 4f49db51029219d11a23827b917a565567595c29 Mon Sep 17 00:00:00 2001 From: Alex Matsuev Date: Sat, 22 Nov 2025 13:49:26 +0300 Subject: [PATCH] Update Dockerfile --- .gitea/workflows/demo.yaml | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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