diff options
author | Till <2353100+S7evinK@users.noreply.github.com> | 2023-10-25 13:53:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-25 13:53:40 +0200 |
commit | 317b1018a38fbbc573f095b880beba5b1fab60be (patch) | |
tree | 89f8951d60e4cc11cbad28bf6a6831423b38b691 /Dockerfile | |
parent | 89482ad7902d6cacddc29f8eac62ab66ff4ebf24 (diff) |
Version 0.13.4 (#3244)v0.13.4helm-dendrite-0.13.5
If I didn't mess up the workflow, this should remove some ugliness from
the version string (e.g. 0.13.2+57ddbe0.57ddbe0, dupe commit hash, as a
result of https://github.com/matrix-org/dendrite/pull/3147)
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -3,7 +3,7 @@ # # base installs required dependencies and runs go mod download to cache dependencies # -FROM --platform=${BUILDPLATFORM} docker.io/golang:1.20-alpine AS base +FROM --platform=${BUILDPLATFORM} docker.io/golang:1.21-alpine AS base RUN apk --update --no-cache add bash build-base curl git # @@ -13,7 +13,6 @@ FROM --platform=${BUILDPLATFORM} base AS build WORKDIR /src ARG TARGETOS ARG TARGETARCH -ARG FLAGS RUN --mount=target=. \ --mount=type=cache,target=/root/.cache/go-build \ --mount=type=cache,target=/go/pkg/mod \ @@ -21,7 +20,7 @@ RUN --mount=target=. \ GOARCH="$TARGETARCH" \ GOOS="linux" \ CGO_ENABLED=$([ "$TARGETARCH" = "$USERARCH" ] && echo "1" || echo "0") \ - go build -v -ldflags="${FLAGS}" -trimpath -o /out/ ./cmd/... + go build -v -trimpath -o /out/ ./cmd/... # |