Skip to content

Commit

Permalink
Added go lock files.
Browse files Browse the repository at this point in the history
  • Loading branch information
samoht9277 committed Oct 10, 2024
1 parent 1d91338 commit c9c0a6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/aggregator.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ FROM ghcr.io/yetanotherco/aligned_layer/aligned_base:latest AS builder

WORKDIR /aligned_layer

COPY go.mod .
COPY go.sum .

RUN go build -o ./aligned-layer-aggregator aggregator/cmd/main.go

FROM debian:bookworm-slim
Expand Down
4 changes: 4 additions & 0 deletions docker/operator.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ RUN apt install -y gcc
ENV GOOS=linux
ARG GOARCH
ENV CGO_ENABLED=1

COPY go.mod .
COPY go.sum .

RUN go build -o /aligned_layer/aligned-layer-operator operator/cmd/main.go

FROM debian:bookworm-slim
Expand Down

0 comments on commit c9c0a6f

Please sign in to comment.