Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.24.6
go-version: 1.24.9
- name: Get dependencies
run: curl -L --fail "https://github.com/apple/foundationdb/releases/download/${FDB_VER}/foundationdb-clients_${FDB_VER}-1_amd64.deb" -o fdb.deb
- name: Install dependencies
Expand All @@ -42,7 +42,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.24.6
go-version: 1.24.9
- name: Fetch all tags
run: git fetch --force --tags
- name: Get dependencies
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.24.6
go-version: 1.24.9
- name: Fetch all tags
run: git fetch --force --tags
- name: Get dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.24.6
go-version: 1.24.9
# https://github.com/goreleaser/goreleaser/issues/1311
- name: Get current semver tag
run: echo "GORELEASER_CURRENT_TAG=$(git describe --tags --match "v*" --abbrev=0)" >> $GITHUB_ENV
Expand Down
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG FDB_VERSION=7.1.67
ARG FDB_WEBSITE=https://github.com/apple/foundationdb/releases/download

# Build the manager binary
FROM docker.io/library/golang:1.24.6-bookworm AS builder
FROM docker.io/library/golang:1.24.9-bookworm AS builder

ARG FDB_VERSION
ARG FDB_WEBSITE
Expand All @@ -17,7 +17,7 @@ RUN set -eux && \
elif [ "$TARGETARCH" = "arm64" ]; then \
FDB_ARCH=aarch64; \
if [ "${FDB_VERSION%.*}" = "7.1" ]; then \
FDB_VERSION="7.3.63"; \
FDB_VERSION="7.3.71"; \
fi; \
else \
echo "ERROR: unsupported architecture $TARGETARCH" 1>&2; \
Expand Down Expand Up @@ -75,7 +75,7 @@ RUN set -eux && \
elif [ "$TARGETARCH" = "arm64" ]; then \
FDB_ARCH=aarch64; \
if [ "${FDB_VERSION%.*}" = "7.1" ]; then \
FDB_VERSION="7.3.63"; \
FDB_VERSION="7.3.71"; \
fi; \
else \
echo "ERROR: unsupported architecture $TARGETARCH" 1>&2; \
Expand All @@ -89,7 +89,9 @@ RUN set -eux && \
fi; \
curl --fail -L "${FDB_WEBSITE}/${FDB_VERSION}/foundationdb-clients-${FDB_VERSION}-1.${FDB_OS}.${FDB_ARCH}.rpm" -o foundationdb-clients-${FDB_VERSION}-1.${FDB_OS}.${FDB_ARCH}.rpm && \
curl --fail -L "${FDB_WEBSITE}/${FDB_VERSION}/foundationdb-clients-${FDB_VERSION}-1.${FDB_OS}.${FDB_ARCH}.rpm.sha256" -o foundationdb-clients-${FDB_VERSION}-1.${FDB_OS}.${FDB_ARCH}.rpm.sha256 && \
microdnf install -y glibc pkg-config bind-utils && \
# Disable buggy mirrors for RockyLinux.
sed -i.bak 's/^#baseurl=/baseurl=/; s/^mirrorlist=/#mirrorlist=/' /etc/yum.repos.d/rocky.repo && \
microdnf install --disablerepo=* --enablerepo=baseos --enablerepo=appstream -y glibc pkg-config bind-utils && \
microdnf clean all && \
sha256sum -c foundationdb-clients-${FDB_VERSION}-1.${FDB_OS}.${FDB_ARCH}.rpm.sha256 && \
rpm -i foundationdb-clients-${FDB_VERSION}-1.${FDB_OS}.${FDB_ARCH}.rpm --excludepath=/usr/bin --excludepath=/usr/lib/foundationdb/backup_agent && \
Expand Down