Merged in feature/semver (pull request #93)

Add semantic versioning to all services

* working

* Merge branch 'main' of bitbucket.org:aarete/query-orchestration into feature/semver

* 1.24 mod

* go upgrade

* tool

* Merge branch 'main' of bitbucket.org:aarete/query-orchestration into feature/semver
This commit is contained in:
Jay Brown
2025-03-06 22:33:39 +00:00
parent 1211697f61
commit 7d78e65d0c
1117 changed files with 130807 additions and 6557 deletions
+7 -6
View File
@@ -1,21 +1,22 @@
# syntax=docker/dockerfile:1
ARG GO_VERSION=1.23
ARG GO_VERSION=1.24.0
FROM golang:${GO_VERSION} AS build
WORKDIR /app
COPY go.mod .
COPY go.sum .
COPY vendor/ vendor/
COPY cmd/ cmd/
# Install Git if not already present
RUN apt-get update && apt-get install -y --no-install-recommends git=1:2.* && apt-get clean && rm -rf /var/lib/apt/lists/*
# Copy the entire repository including .git directory
COPY . .
ARG TARGETARCH
SHELL ["/bin/bash", "-c"]
RUN --mount=type=cache,target=/go/pkg/mod/ \
--mount=type=bind,target=. \
CGO_ENABLED=0 GOARCH=$TARGETARCH go build -o /bin ./cmd/...
FROM scratch AS final