mirror of
https://github.com/hanzoai/search-go.git
synced 2026-10-30 18:22:58 +00:00
In a project using this module it was noticed that it was the (only) reason to still also include jwt/v4. JWT usage in this module seems rather limited, so regressions seem unlikely. Based on review feedback, also bump the newest go version for tests to 1.25 `git config --global --add safe.directory /home/package` is added to the Dockerfile to avoid VCS stamping failures.
14 lines
272 B
Docker
14 lines
272 B
Docker
FROM golang:1.21-bookworm
|
|
|
|
WORKDIR /home/package
|
|
|
|
RUN git config --global --add safe.directory /home/package
|
|
|
|
COPY go.mod .
|
|
COPY go.sum .
|
|
|
|
COPY --from=golangci/golangci-lint:v2.3.0 /usr/bin/golangci-lint /usr/local/bin/golangci-lint
|
|
|
|
RUN go mod download
|
|
RUN go mod verify
|