-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Prefetch deps and store in container image
Signed-off-by: Mike Sul <[email protected]>
- Loading branch information
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
FROM golang:1.22-alpine | ||
RUN apk add make curl docker docker-compose git | ||
COPY registry/certs/registry.crt /etc/ssl/certs/ | ||
COPY test/compose/registry/certs/registry.crt /etc/ssl/certs/ | ||
RUN cat /etc/ssl/certs/registry.crt >> /etc/ssl/certs/ca-certificates.crt | ||
WORKDIR /build | ||
COPY go.mod go.sum ./ | ||
RUN go mod download |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters