Last active
October 8, 2025 06:33
-
-
Save fuCtor/7c255f8ecb292906b2a41c75eb409933 to your computer and use it in GitHub Desktop.
FoundationDB ARM Docker Image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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