Skip to content

Instantly share code, notes, and snippets.

@fuCtor
Last active October 8, 2025 06:33
Show Gist options
  • Select an option

  • Save fuCtor/7c255f8ecb292906b2a41c75eb409933 to your computer and use it in GitHub Desktop.

Select an option

Save fuCtor/7c255f8ecb292906b2a41c75eb409933 to your computer and use it in GitHub Desktop.
FoundationDB ARM Docker Image
FROM debian:bookworm-slim AS dl
ARG FDB_VER=7.3.67
ARG TARGETARCH
RUN apt-get update \
&& apt-get install -y wget \
&& rm -rf /var/lib/apt/lists/*
RUN <<-EOF
if [ "amd64" = "$TARGETARCH" ]; then
ARCH=x86_64
fi
if [ "arm64" = "$TARGETARCH" ]; then
ARCH=aarch64
fi
mkdir -p /target
for binName in fdbserver backup_agent dr_agent fdbmonitor fdbcli; do
echo "Download ${binName} for ${ARCH} from ${FDB_VER}"
wget --no-check-certificate https://github.com/apple/foundationdb/releases/download/${FDB_VER}/${binName}.${ARCH} -O /target/${binName}
chmod +x /target/${binName}
done
EOF
FROM debian:bookworm-slim
COPY --from=dl /target /usr/bin
ENTRYPOINT /usr/bin/fdbmonitor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment