Skip to content

Commit

Permalink
fix: fallblack to alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Jul 30, 2024
1 parent 678db78 commit ef15075
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Start from the latest golang base image
FROM golang:latest AS builder
FROM golang:alpine AS builder

# Set the Current Working Directory inside the container
WORKDIR /app
Expand All @@ -17,7 +17,7 @@ COPY . .
WORKDIR /app/cmd/nats-blackbox-exporter
RUN go build -o /nats-blackbox-exporter

FROM gcr.io/distroless/static-debian12:nonroot
FROM alpine:latest

WORKDIR /app/

Expand Down

0 comments on commit ef15075

Please sign in to comment.