sha256:8a59623b8d1a61da7a1c2d31fbde78b63876ec710b962164c334e2253c60434e
OS/ARCH
Compressed size
80.3 MB
Last pushed
5 months by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:cc5c4511c82c7a61da0cecd25ea3e67f43a08a93a734f6351ad8e8a9646a2420
5
LABEL org.opencontainers.image.title=Aerospike Enterprise Server org.opencontainers.image.description=Aerospike is a real-time database with predictable performance at petabyte scale with microsecond latency over billions of transactions. org.opencontainers.image.documentation=https://hub.docker.com/_/aerospike org.opencontainers.image.base.name=docker.io/library/ubuntu:24.04 org.opencontainers.image.source=https://github.com/aerospike/aerospike-server.docker org.opencontainers.image.vendor=Aerospike org.opencontainers.image.version=8.1.1.1 org.opencontainers.image.url=https://github.com/aerospike/aerospike-server.docker
0 B
6
ARG AEROSPIKE_EDITION=enterprise
0 B
7
ENV AEROSPIKE_LINUX_BASE=ubuntu:24.04
0 B
8
ARG AEROSPIKE_X86_64_LINK=https://artifacts.aerospike.com/aerospike-server-enterprise/8.1.1.1/aerospike-server-enterprise_8.1.1.1_tools-12.1.1_ubuntu24.04_x86_64.tgz
0 B
9
ARG AEROSPIKE_SHA_X86_64=a2990f0970a7ca1bdec8068109dc0573ca975c5dd5d014a9a6f1b0a178849625
0 B
10
ARG AEROSPIKE_AARCH64_LINK=https://artifacts.aerospike.com/aerospike-server-enterprise/8.1.1.1/aerospike-server-enterprise_8.1.1.1_tools-12.1.1_ubuntu24.04_aarch64.tgz
0 B
11
ARG AEROSPIKE_SHA_AARCH64=1ccb5d3a9cb396ce6dcb58d24d71b2a5eb46f29ec3c24b62472318c02e668d4d
0 B
12
SHELL [/bin/bash -Eeuo pipefail -c]
0 B
13
RUN |5 AEROSPIKE_EDITION=enterprise AEROSPIKE_X86_64_LINK=https://artifacts.aerospike.com/aerospike-server-enterprise/8.1.1.1/aerospike-server-enterprise_8.1.1.1_tools-12.1.1_ubuntu24.04_x86_64.tgz AEROSPIKE_SHA_X86_64=a2990f0970a7ca1bdec8068109dc0573ca975c5dd5d014a9a6f1b0a178849625 AEROSPIKE_AARCH64_LINK=https://artifacts.aerospike.com/aerospike-server-enterprise/8.1.1.1/aerospike-server-enterprise_8.1.1.1_tools-12.1.1_ubuntu24.04_aarch64.tgz AEROSPIKE_SHA_AARCH64=1ccb5d3a9cb396ce6dcb58d24d71b2a5eb46f29ec3c24b62472318c02e668d4d /bin/bash -Eeuo pipefail -c { export DEBIAN_FRONTEND=noninteractive; apt-get update -y; apt-get install -y --no-install-recommends apt-utils; apt-get install -y --no-install-recommends binutils xz-utils; }; { apt-get install -y --no-install-recommends ca-certificates curl procps; }; { VERSION="$(grep -oE "/[0-9]+[.][0-9]+[.][0-9]+([.][0-9]+)+(-[a-z0-9]+)?([-][0-9]+[-]g[0-9a-z]*)?/" <<<"${AEROSPIKE_X86_64_LINK}" | tr -d '/' | tail -1)"; }; { ARCH="$(dpkg --print-architecture)"; if [ "${ARCH}" = "amd64" ]; then sha256=d1f6826dd70cdd88dde3d5a20d8ed248883a3bc2caba3071c8a3a9b0e0de5940; suffix=""; elif [ "${ARCH}" = "arm64" ]; then sha256=1c398e5283af2f33888b7d8ac5b01ac89f777ea27c85d25866a40d1e64d0341b; suffix="-arm64"; else echo "Unsuported architecture - ${ARCH}" >&2; exit 1; fi; curl -fsSL "https://github.com/aerospike/tini/releases/download/1.0.1/as-tini-static${suffix}" --output /usr/bin/as-tini-static; echo "${sha256} /usr/bin/as-tini-static" | sha256sum -c -; chmod +x /usr/bin/as-tini-static; }; { ARCH="$(dpkg --print-architecture)"; mkdir -p aerospike/pkg; if [ "${ARCH}" = "amd64" ]; then pkg_link="${AEROSPIKE_X86_64_LINK}"; sha256="${AEROSPIKE_SHA_X86_64}"; elif [ "${ARCH}" = "arm64" ]; then pkg_link="${AEROSPIKE_AARCH64_LINK}"; sha256="${AEROSPIKE_SHA_AARCH64}"; else echo "Unsuported architecture - ${ARCH}" >&2; exit 1; fi; if ! curl -fsSL "${pkg_link}" --output aerospike-server.tgz; then echo "Could not fetch pkg - ${pkg_link}" >&2; exit 1; fi; echo "${sha256} aerospike-server.tgz" | sha256sum -c -; tar xzf aerospike-server.tgz --strip-components=1 -C aerospike; rm aerospike-server.tgz; mkdir -p /var/{log,run}/aerospike; mkdir -p /licenses; cp aerospike/LICENSE /licenses; }; { if [ "${AEROSPIKE_EDITION}" = "enterprise" ]; then apt-get install -y --no-install-recommends libcurl4 libldap-2.4.2; elif ! [ "$(printf "%s\n%s" "${VERSION}" "6.0" | sort -V | head -1)" != "${VERSION}" ]; then apt-get install -y --no-install-recommends libcurl4; fi; dpkg -i aerospike/aerospike-server-*.deb; rm -rf /opt/aerospike/bin; }; { if ! [ "$(printf "%s\n%s" "${VERSION}" "5.1" | sort -V | head -1)" != "${VERSION}" ]; then apt-get install -y --no-install-recommends python2; elif ! [ "$(printf "%s\n%s" "${VERSION}" "6.2.0.3" | sort -V | head -1)" != "${VERSION}" ]; then apt-get install -y --no-install-recommends python3 python3-distutils; fi; }; { ar -x aerospike/aerospike-tools*.deb --output aerospike/pkg; tar xf aerospike/pkg/data.tar.xz -C aerospike/pkg/; }; { find aerospike/pkg/opt/aerospike/bin/ -user aerospike -group aerospike -exec chown root:root {} +; mv aerospike/pkg/etc/aerospike/astools.conf /etc/aerospike; if ! [ "$(printf "%s\n%s" "${VERSION}" "6.2" | sort -V | head -1)" != "${VERSION}" ]; then mv aerospike/pkg/opt/aerospike/bin/aql /usr/bin; fi; if [ -d 'aerospike/pkg/opt/aerospike/bin/asadm' ]; then mv aerospike/pkg/opt/aerospike/bin/asadm /usr/lib/; else mkdir /usr/lib/asadm; mv aerospike/pkg/opt/aerospike/bin/asadm /usr/lib/asadm/; fi; ln -s /usr/lib/asadm/asadm /usr/bin/asadm; if [ -f 'aerospike/pkg/opt/aerospike/bin/asinfo' ]; then mv aerospike/pkg/opt/aerospike/bin/asinfo /usr/lib/asadm/; fi; ln -s /usr/lib/asadm/asinfo /usr/bin/asinfo; }; { rm -rf aerospike; }; { rm -rf /var/lib/apt/lists/*; dpkg --purge apt-utils binutils xz-utils 2>&1; apt-get purge -y; apt-get autoremove -y; unset DEBIAN_FRONTEND; }; echo "done"; # buildkit
55.32 MB
14
COPY aerospike.template.conf /etc/aerospike/aerospike.template.conf # buildkit
1.19 KB
15
EXPOSE map[3000/tcp:{} 3001/tcp:{} 3002/tcp:{}]
0 B
16
COPY entrypoint.sh /entrypoint.sh # buildkit
1.11 KB
17
ENTRYPOINT ["/usr/bin/as-tini-static" "-r" "SIGUSR1" "-t" "SIGTERM" "--" "/entrypoint.sh"]
0 B
18
CMD ["asd"]
0 B