mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
* CI: Replace docker amd64 with native runner, switch Docker test arch to amd64 * tests: Remove spaces and new lines from test JSON timestamp fields * builds: Disable sonic for arm64 due to OKX unmarshal issue * nits: Improve Dockerfile comment and fix build tag
13 lines
231 B
Docker
13 lines
231 B
Docker
FROM golang:1.23-alpine
|
|
|
|
# Install GCC and musl-dev (needed for SQLite library)
|
|
RUN apk add --no-cache gcc musl-dev
|
|
|
|
WORKDIR /app
|
|
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download && go mod verify
|
|
|
|
COPY . /app
|
|
|
|
CMD ["go", "test", "./..."] |