sha256:11c2d560c83a8eaef072f0d35a67390440b1e034a04f88ef5b4248d6d84ad621
OS/ARCH
Compressed size
80.29 MB
Last pushed
8 months by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:fb0e50a106e5666054002cc60b996669fc6a25529f695163cd5c026a9a1133e3
6
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.0 org.opencontainers.image.url=https://github.com/aerospike/aerospike-server.docker
0 B
7
ARG AEROSPIKE_EDITION=enterprise
0 B
8
ENV AEROSPIKE_LINUX_BASE=ubuntu:24.04
0 B
9
ARG AEROSPIKE_X86_64_LINK=https://artifacts.aerospike.com/aerospike-server-enterprise/8.1.1.0/aerospike-server-enterprise_8.1.1.0_tools-12.1.1_ubuntu24.04_x86_64.tgz
0 B
10
ARG AEROSPIKE_SHA_X86_64=11c05208d3a982514c0b4ffd4e256f214f08aaf330e0712f659ade5c2782e982
0 B
11
ARG AEROSPIKE_AARCH64_LINK=https://artifacts.aerospike.com/aerospike-server-enterprise/8.1.1.0/aerospike-server-enterprise_8.1.1.0_tools-12.1.1_ubuntu24.04_aarch64.tgz
0 B
12
ARG AEROSPIKE_SHA_AARCH64=cfb43ed21b27bc77ccf5d35e42f47f7b40fba6c4002e755d4c20962f18608a77
0 B
13
SHELL [/bin/bash -Eeuo pipefail -c]
0 B
14
RUN |5 AEROSPIKE_EDITION=enterprise AEROSPIKE_X86_64_LINK=https://artifacts.aerospike.com/aerospike-server-enterprise/8.1.1.0/aerospike-server-enterprise_8.1.1.0_tools-12.1.1_ubuntu24.04_x86_64.tgz AEROSPIKE_SHA_X86_64=11c05208d3a982514c0b4ffd4e256f214f08aaf330e0712f659ade5c2782e982 AEROSPIKE_AARCH64_LINK=https://artifacts.aerospike.com/aerospike-server-enterprise/8.1.1.0/aerospike-server-enterprise_8.1.1.0_tools-12.1.1_ubuntu24.04_aarch64.tgz AEROSPIKE_SHA_AARCH64=cfb43ed21b27bc77ccf5d35e42f47f7b40fba6c4002e755d4c20962f18608a77 /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
15
COPY aerospike.template.conf /etc/aerospike/aerospike.template.conf # buildkit
1.19 KB
16
EXPOSE map[3000/tcp:{} 3001/tcp:{} 3002/tcp:{}]
0 B
17
COPY entrypoint.sh /entrypoint.sh # buildkit
1.11 KB
18
ENTRYPOINT ["/usr/bin/as-tini-static" "-r" "SIGUSR1" "-t" "SIGTERM" "--" "/entrypoint.sh"]
0 B
19
CMD ["asd"]
0 B