Skip to content

Commit

Permalink
chore: speed up docker multi stages image build
Browse files Browse the repository at this point in the history
  • Loading branch information
William Petit committed Sep 13, 2024
1 parent 897d80e commit a8ceb9a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions misc/docker/multi-stages/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM golang:1.23 AS build

COPY go.mod go.sum /src/

RUN cd /src && go mod download

RUN apt-get update
RUN apt-get install -y make

Expand Down

0 comments on commit a8ceb9a

Please sign in to comment.