Skip to content

Commit

Permalink
add own Dockerfile for goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrossbach committed Jan 11, 2025
1 parent 07b292d commit 8a5f5fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN go mod download
COPY . .
RUN go build -o noah-mqtt cmd/noah-mqtt/main.go

# Alpine image to run
# scratch image to run
FROM scratch

# Copy built binaries
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile_goreleaser
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
FROM alpine AS builder

FROM scratch
COPY noah-mqtt /
COPY LICENSE /
Expand Down

0 comments on commit 8a5f5fa

Please sign in to comment.