| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:08e1f650999ca51d9b63c782d658d9485c64263966d69dc423a3b64a16449f00 in / |
| CMD ["/bin/bash"] |
| ARG BINARY_NAME=memgraph_3.11.0-1_arm64 |
| ARG EXTENSION=deb |
| ARG TARGETARCH= |
| ARG CUSTOM_MIRROR=true |
| RUN |4 BINARY_NAME=memgraph_3.11.0-1_arm64 EXTENSION=deb TARGETARCH= CUSTOM_MIRROR=true /bin/sh -c if [ "$CUSTOM_MIRROR" = "true" ] && [ -f /ubuntu.sources ]; then mv -v /etc/apt/sources.list.d/ubuntu.sources /etc/apt/sources.list.d/ubuntu.sources.backup; cp -v /ubuntu.sources /etc/apt/sources.list.d/ubuntu.sources; fi && apt-get update && apt-get install -y /openssl/openssl*.deb /openssl/libssl3t64*.deb --no-install-recommends && apt-get install -y libcurl4 libseccomp2 python3 libpython3.12 libatomic1 adduser ca-certificates --no-install-recommends && apt install -y libxmlsec1 && groupadd -g 103 memgraph && useradd -u 101 -g memgraph -m -d /home/memgraph -s /bin/bash memgraph && if [ -f /etc/dpkg/dpkg.cfg.d/excludes ]; then echo "" >> /etc/dpkg/dpkg.cfg.d/excludes && echo "# Include all memgraph documentation files (licenses, etc.)" >> /etc/dpkg/dpkg.cfg.d/excludes && echo "path-include=/usr/share/doc/memgraph/*" >> /etc/dpkg/dpkg.cfg.d/excludes; fi && dpkg -i "${BINARY_NAME}${TARGETARCH}.deb" && apt remove adduser -y && apt autoremove -y && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && if [ "$CUSTOM_MIRROR" = "true" ] && [ -f /etc/apt/sources.list.d/ubuntu.sources.backup ]; then mv -v /etc/apt/sources.list.d/ubuntu.sources.backup /etc/apt/sources.list.d/ubuntu.sources; fi # buildkit |
| EXPOSE [7687/tcp] |
| VOLUME [/var/log/memgraph] |
| VOLUME [/var/lib/memgraph] |
| VOLUME [/etc/memgraph] |
| ENV MEMGRAPH_TELEMETRY_ID=DOCKER |
| COPY --chown=memgraph:memgraph /home/memgraph/.local /home/memgraph/.local # buildkit |
| USER memgraph |
| WORKDIR /usr/lib/memgraph |
| ENTRYPOINT ["/usr/lib/memgraph/memgraph"] |
| CMD [] |