Skip to content

Commit

Permalink
Containerfile: Use local, not remote source
Browse files Browse the repository at this point in the history
Container builds should use local sources to ensure that builds use
latest source.
  • Loading branch information
deuill committed Oct 23, 2024
1 parent 5d89c8d commit 54f1961
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Containerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM docker.io/golang:1.23-bookworm AS builder
RUN GOBIN=/build/usr/bin go install go.deuill.org/webhook-gateway/cmd/webhook-gateway@latest

WORKDIR /src
COPY . /src

RUN GOBIN=/build/usr/bin go install /src/cmd/webhook-gateway

FROM docker.io/debian:bookworm-slim
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y --no-install-recommends \
Expand Down

0 comments on commit 54f1961

Please sign in to comment.