Update Dockerfile
All checks were successful
Show context properties / dump_contexts_to_log (push) Successful in 2s
All checks were successful
Show context properties / dump_contexts_to_log (push) Successful in 2s
This commit is contained in:
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Build and test application
|
- name: Build and test application
|
||||||
run: |
|
run: |
|
||||||
mkdir bin
|
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
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
FROM debian:stable-slim
|
FROM alpine:3.22
|
||||||
|
|
||||||
COPY ./bin/metrics /bin
|
COPY ./bin/metrics /bin
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user