Skip to content

Commit

Permalink
ci: added new Debian-based Docker image (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanholz authored Nov 13, 2023
1 parent 18a245a commit c826068
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docker/sprout-debian.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# syntax=docker/dockerfile:1
# Note: this dockerfile must be used from a subfolder
FROM golang:1.21 AS builder
VOLUME /go/src
WORKDIR /app
COPY go.mod .
COPY go.sum .

RUN go mod download

ADD . /app
RUN make sprout


FROM debian:bookworm-slim
COPY --from=builder /app/bin/sprout sprout
ENTRYPOINT ["/sprout"]

0 comments on commit c826068

Please sign in to comment.