├── .dockerignore ├── Dockerfile33.local ├── Dockerfile33.templ ├── Dockerfile34.templ ├── Dockerfile35.templ ├── LICENSE ├── README-short.txt ├── README.md ├── addversion.sh ├── alpine ├── 3.10.0 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.10.1 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.10.10 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.10.11 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.10.12 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.10.13 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.10.14 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.10.2 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.10.3 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.10.4 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.10.5.2 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.10.5 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.10.6 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.10.7 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.10.8 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.10.9 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.0 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.1 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.10.1 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.10 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.11 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.12 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.12_alpine-3.18 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.13 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.14 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.2 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.3 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.4 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.5 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.6 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.7 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.8 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.11.9 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.12.0.2 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.12.0 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.12.1 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.12.2 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.12.3 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.12.3_alpine-3.18 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.12.4.3 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.12.4 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.4.0 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.4.1 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.4.10 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.4.2 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.4.3 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.4.4 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.4.5 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.4.6 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.4.7 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.4.8 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.4.9 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.5.0 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.5.1 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.5.2 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.5.3 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.5.4 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.5.5.1 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.5.5 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.5.6 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.5.7 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.0 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.1 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.10 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.11 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.12 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.13 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.14 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.15 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.16 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.2 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.3.1 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.3 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.4 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.5 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.6 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.7.1 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.7 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.8 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.6.9 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.1 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.10 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.11 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.12 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.13 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.14 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.15 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.16 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.17 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.18 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.2.1 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.2.2 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.2 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.3 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.5 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.6 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.7 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.8 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.7.9 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.8.0 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.8.1 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.8.2 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.8.3 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.8.4 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.8.5.1 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.8.5 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.8.6 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.8.7 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.8.8 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.8.9 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.9.0 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.9.1 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.9.10 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.9.11 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.9.12 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.9.2 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.9.3 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.9.4 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.9.5 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.9.6 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.9.7 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── 3.9.8 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh └── 3.9.9 │ ├── Dockerfile │ ├── docker-entrypoint.sh │ └── docker-foxx.sh ├── build_docker_library_file.sh ├── docker-entrypoint33.sh ├── docker-entrypoint34.sh ├── logo.png ├── mapVersions.txt ├── stretch ├── 3.3.0 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.1 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.10 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.11 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.12 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.13 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.14 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.15 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.16 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.17 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.19 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.2 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.20 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.21 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.22 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.23 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.24 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.25 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.3 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.4 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.5 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.7 │ ├── Dockerfile │ └── docker-entrypoint.sh ├── 3.3.8 │ ├── Dockerfile │ └── docker-entrypoint.sh └── 3.3.9 │ ├── Dockerfile │ └── docker-entrypoint.sh └── test-user-scripts ├── Dockerfile ├── README.md ├── dumps └── KnowsGraph │ ├── _aqlfunctions_8293af7a2caabc3098bc21db7ce2759d.data.json │ ├── _aqlfunctions_8293af7a2caabc3098bc21db7ce2759d.structure.json │ ├── _frontend_33a4de9a99a6607c1ea19444d2424dee.data.json │ ├── _frontend_33a4de9a99a6607c1ea19444d2424dee.structure.json │ ├── _graphs_c827636f2b54efb49f1f02feeeacfb01.data.json │ ├── _graphs_c827636f2b54efb49f1f02feeeacfb01.structure.json │ ├── _modules_5a8c8ba0d331b61fccfd1e88cfedce00.data.json │ ├── _modules_5a8c8ba0d331b61fccfd1e88cfedce00.structure.json │ ├── _routing_2c45c18bea1c0e35cd63e70a266341c2.data.json │ ├── _routing_2c45c18bea1c0e35cd63e70a266341c2.structure.json │ ├── dump.json │ ├── knows_6047cc85618dc1f4307e80ecfb65e5a6.data.json │ ├── knows_6047cc85618dc1f4307e80ecfb65e5a6.structure.json │ ├── persons_d20dd267d55aba2427ce07f1f8b4d46e.data.json │ └── persons_d20dd267d55aba2427ce07f1f8b4d46e.structure.json ├── test.js ├── test.sh └── verify.js /.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | 3 | -------------------------------------------------------------------------------- /Dockerfile33.local: -------------------------------------------------------------------------------- 1 | FROM debian:stretch 2 | MAINTAINER Frank Celler 3 | 4 | RUN apt-get update && \ 5 | apt-get upgrade -y && \ 6 | apt-get install -y --no-install-recommends \ 7 | libjemalloc1 \ 8 | ca-certificates \ 9 | pwgen \ 10 | curl && \ 11 | rm -rf /var/lib/apt/lists/* 12 | 13 | COPY arangodb.deb /arangodb.deb 14 | 15 | RUN mkdir /docker-entrypoint-initdb.d 16 | 17 | # see 18 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Endpoint.html 19 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Logging.html 20 | 21 | RUN (echo arangodb3 arangodb3/password password test | debconf-set-selections) && \ 22 | (echo arangodb3 arangodb3/password_again password test | debconf-set-selections) && \ 23 | DEBIAN_FRONTEND="noninteractive" dpkg -i arangodb.deb && \ 24 | rm -rf /var/lib/arangodb3/* && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf \ 30 | && chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps \ 31 | && chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps \ 32 | && rm -f /arangodb.deb 33 | # Note that Openshift runs containers by default with a random UID and GID 0. 34 | # We need that the database and apps directory are writable for this config. 35 | 36 | # retain the database directory and the Foxx Application directory 37 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 38 | 39 | COPY docker-entrypoint33.sh /entrypoint.sh 40 | RUN ["chmod", "+x", "/entrypoint.sh"] 41 | ENTRYPOINT ["/entrypoint.sh"] 42 | 43 | # standard port 44 | EXPOSE 8529 45 | CMD ["arangod"] 46 | -------------------------------------------------------------------------------- /Dockerfile34.templ: -------------------------------------------------------------------------------- 1 | FROM alpine:3.8 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION @VERSION@ 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb34/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils && \ 11 | npm install -g foxx-cli && \ 12 | rm -rf /root/.npm 13 | 14 | RUN gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B 15 | 16 | RUN mkdir /docker-entrypoint-initdb.d 17 | 18 | # see 19 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Endpoint.html 20 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Logging.html 21 | 22 | RUN cd /tmp && \ 23 | wget ${ARANGO_SIGNATURE_URL} && \ 24 | wget ${ARANGO_PACKAGE_URL} && \ 25 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 26 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 27 | tar -C / -x -z -f data.tar.gz && \ 28 | sed -ri \ 29 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 30 | -e 's!^(file\s*=\s*).*!\1 -!' \ 31 | -e 's!^\s*uid\s*=.*!!' \ 32 | /etc/arangodb3/arangod.conf && \ 33 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 34 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 35 | rm -f /usr/bin/foxx && \ 36 | rm -f ${ARANGO_PACKAGE}* data.tar.gz 37 | # Note that Openshift runs containers by default with a random UID and GID 0. 38 | # We need that the database and apps directory are writable for this config. 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-foxx.sh /usr/bin/foxx 44 | COPY docker-entrypoint.sh /entrypoint.sh 45 | RUN ["chmod", "+x", "/entrypoint.sh"] 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /Dockerfile35.templ: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION @VERSION@ 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb35/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Endpoint.html 12 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Logging.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl numactl-tools && \ 15 | npm install -g foxx-cli && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | COPY docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /README-short.txt: -------------------------------------------------------------------------------- 1 | ArangoDB - a distributed open-source database with a flexible data model for documents, graphs, and key-values. 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | [![dockeri.co](http://dockeri.co/image/_/arangodb)](https://registry.hub.docker.com/_/arangodb/) 3 | 4 | # Building your own ArangoDB image 5 | 6 | We are auto generating docker images via our [build system](https://github.com/arangodb/oskar/tree/master/containers) where you can find the Dockerfile templates. 7 | The post proccessed docker files end up in `alpine/[arangodbversion]/Dockerfile`. 8 | 9 | To build your own ArangoDB image pick the template file from the corrosponding directory in the Oskar repo. 10 | Use the arangodb major/minor version you want to build (i.e. 36 is intended to be used with ArangoDB 3.6.x): 11 | 12 | ```console 13 | cp ../oskar/containers/arangodb[version]/* . 14 | ``` 15 | 16 | Adjust @VERSION@ in the Dockerfile to the version of arangodb you want to have and issue: 17 | 18 | ```console 19 | docker build -t arangodb . 20 | ``` 21 | 22 | This will create an image named `arangodb`. 23 | 24 | ## Reference documentation 25 | 26 | For user documentation please refer to our official docker hub documentation: 27 | 28 | https://hub.docker.com/_/arangodb/ (built via https://github.com/docker-library/docs/tree/master/arangodb ) 29 | 30 | ## Changing the base distribution 31 | 32 | The integration and the release flow this repository is involved in is documented here: https://github.com/arangodb/documents/blob/master/Core/arangodb_docker.md 33 | 34 | ## Generated files and their source 35 | 36 | The single source of truth for the autogenerated files published here has been moved to [Oskar](https://github.com/arangodb/oskar/blob/master/containers/) 37 | -------------------------------------------------------------------------------- /alpine/3.10.0/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.10.1/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.10.10/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.10.11/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.10.12/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.10.13/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.10.14/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.10.2/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.10.3/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.10.4/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.10.5.2/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.10.5/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.10.6/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.10.7/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.10.8/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.10.9/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.0/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.1/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.10.1/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.10/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.11/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.12/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.12_alpine-3.18/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.13/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.14/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.2/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.3/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.4/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.5/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.6/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.7/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.8/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.11.9/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.4.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.8 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.4.0 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb34/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils && \ 11 | npm install -g foxx-cli && \ 12 | rm -rf /root/.npm 13 | 14 | RUN gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B 15 | 16 | RUN mkdir /docker-entrypoint-initdb.d 17 | 18 | # see 19 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Endpoint.html 20 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Logging.html 21 | 22 | RUN cd /tmp && \ 23 | wget ${ARANGO_SIGNATURE_URL} && \ 24 | wget ${ARANGO_PACKAGE_URL} && \ 25 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 26 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 27 | tar -C / -x -z -f data.tar.gz && \ 28 | sed -ri \ 29 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 30 | -e 's!^(file\s*=).*!\1 -!' \ 31 | -e 's!^\s*uid\s*=.*!!' \ 32 | /etc/arangodb3/arangod.conf && \ 33 | echo chgrp 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 34 | echo chmod 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 35 | rm -f ${ARANGO_PACKAGE}* data.tar.gz 36 | # Note that Openshift runs containers by default with a random UID and GID 0. 37 | # We need that the database and apps directory are writable for this config. 38 | 39 | # retain the database directory and the Foxx Application directory 40 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 41 | 42 | COPY docker-entrypoint.sh /entrypoint.sh 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.4.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.8 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.4.1 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb34/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils && \ 11 | npm install -g foxx-cli && \ 12 | rm -rf /root/.npm 13 | 14 | RUN gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B 15 | 16 | RUN mkdir /docker-entrypoint-initdb.d 17 | 18 | # see 19 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Endpoint.html 20 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Logging.html 21 | 22 | RUN cd /tmp && \ 23 | wget ${ARANGO_SIGNATURE_URL} && \ 24 | wget ${ARANGO_PACKAGE_URL} && \ 25 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 26 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 27 | tar -C / -x -z -f data.tar.gz && \ 28 | sed -ri \ 29 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 30 | -e 's!^(file\s*=).*!\1 -!' \ 31 | -e 's!^\s*uid\s*=.*!!' \ 32 | /etc/arangodb3/arangod.conf && \ 33 | echo chgrp 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 34 | echo chmod 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 35 | rm -f ${ARANGO_PACKAGE}* data.tar.gz 36 | # Note that Openshift runs containers by default with a random UID and GID 0. 37 | # We need that the database and apps directory are writable for this config. 38 | 39 | # retain the database directory and the Foxx Application directory 40 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 41 | 42 | COPY docker-entrypoint.sh /entrypoint.sh 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.4.10/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.4.10 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb34/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.4/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.4/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl && \ 15 | npm install -g foxx-cli@1.3.0 && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | copy docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.4.10/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.4.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.8 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.4.2.1 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb34/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils && \ 11 | npm install -g foxx-cli && \ 12 | rm -rf /root/.npm 13 | 14 | RUN gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B 15 | 16 | RUN mkdir /docker-entrypoint-initdb.d 17 | 18 | # see 19 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Endpoint.html 20 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Logging.html 21 | 22 | RUN cd /tmp && \ 23 | wget ${ARANGO_SIGNATURE_URL} && \ 24 | wget ${ARANGO_PACKAGE_URL} && \ 25 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 26 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 27 | tar -C / -x -z -f data.tar.gz && \ 28 | sed -ri \ 29 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 30 | -e 's!^(file\s*=).*!\1 -!' \ 31 | -e 's!^\s*uid\s*=.*!!' \ 32 | /etc/arangodb3/arangod.conf && \ 33 | echo chgrp 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 34 | echo chmod 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 35 | rm -f ${ARANGO_PACKAGE}* data.tar.gz 36 | # Note that Openshift runs containers by default with a random UID and GID 0. 37 | # We need that the database and apps directory are writable for this config. 38 | 39 | # retain the database directory and the Foxx Application directory 40 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 41 | 42 | COPY docker-entrypoint.sh /entrypoint.sh 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.4.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.8 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.4.3 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb34/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils && \ 11 | npm install -g foxx-cli && \ 12 | rm -rf /root/.npm 13 | 14 | RUN gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B 15 | 16 | RUN mkdir /docker-entrypoint-initdb.d 17 | 18 | # see 19 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Endpoint.html 20 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Logging.html 21 | 22 | RUN cd /tmp && \ 23 | wget ${ARANGO_SIGNATURE_URL} && \ 24 | wget ${ARANGO_PACKAGE_URL} && \ 25 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 26 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 27 | tar -C / -x -z -f data.tar.gz && \ 28 | sed -ri \ 29 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 30 | -e 's!^(file\s*=\s*).*!\1 -!' \ 31 | -e 's!^\s*uid\s*=.*!!' \ 32 | /etc/arangodb3/arangod.conf && \ 33 | echo chgrp 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 34 | echo chmod 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 35 | rm -f /usr/bin/foxx && \ 36 | rm -f ${ARANGO_PACKAGE}* data.tar.gz 37 | # Note that Openshift runs containers by default with a random UID and GID 0. 38 | # We need that the database and apps directory are writable for this config. 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | copy docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.4.3/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.4.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.8 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.4.4 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb34/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils && \ 11 | npm install -g foxx-cli && \ 12 | rm -rf /root/.npm 13 | 14 | RUN gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B 15 | 16 | RUN mkdir /docker-entrypoint-initdb.d 17 | 18 | # see 19 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Endpoint.html 20 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Logging.html 21 | 22 | RUN cd /tmp && \ 23 | wget ${ARANGO_SIGNATURE_URL} && \ 24 | wget ${ARANGO_PACKAGE_URL} && \ 25 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 26 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 27 | tar -C / -x -z -f data.tar.gz && \ 28 | sed -ri \ 29 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 30 | -e 's!^(file\s*=\s*).*!\1 -!' \ 31 | -e 's!^\s*uid\s*=.*!!' \ 32 | /etc/arangodb3/arangod.conf && \ 33 | echo chgrp 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 34 | echo chmod 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 35 | rm -f /usr/bin/foxx && \ 36 | rm -f ${ARANGO_PACKAGE}* data.tar.gz 37 | # Note that Openshift runs containers by default with a random UID and GID 0. 38 | # We need that the database and apps directory are writable for this config. 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | copy docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.4.4/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.4.5/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.4.6/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.4.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.4.7 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb34/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Endpoint.html 12 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Logging.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl && \ 15 | npm install -g foxx-cli && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | copy docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.4.7/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.4.8/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.4.8 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb34/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://docs.arangodb.com/3.4/Manual/Administration/Configuration/Endpoint.html 12 | # https://docs.arangodb.com/3.4/Manual/Administration/Configuration/Logging.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl && \ 15 | npm install -g foxx-cli && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | copy docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.4.8/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.4.9/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.4.9 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb34/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.4/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.4/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl && \ 15 | npm install -g foxx-cli && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | copy docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.4.9/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.5.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.5.0 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb35/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Endpoint.html 12 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Logging.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl && \ 15 | npm install -g foxx-cli && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | copy docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.5.0/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.5.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.5.1 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb35/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Endpoint.html 12 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Logging.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl numactl-tools && \ 15 | npm install -g foxx-cli && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | copy docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.5.1/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.5.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.5.2 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb35/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Endpoint.html 12 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Logging.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl numactl-tools && \ 15 | npm install -g foxx-cli && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | COPY docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.5.2/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.5.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.5.3 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb35/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Endpoint.html 12 | # https://docs.arangodb.com/latest/Manual/Administration/Configuration/Logging.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl numactl-tools && \ 15 | npm install -g foxx-cli && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | COPY docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.5.3/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.5.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.5.4 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb35/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.5/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.5/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl numactl-tools && \ 15 | npm install -g foxx-cli && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | COPY docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.5.4/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.5.5.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.5.5.1 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb35/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.5/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.5/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | COPY docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.5.5.1/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.5.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.5.5 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb35/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.5/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.5/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl numactl-tools && \ 15 | npm install -g foxx-cli && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | COPY docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.5.5/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.5.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.5.6 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb35/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.5/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.5/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.5.6/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.5.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.5.7 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb35/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.5/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.5/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.5.7/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.0 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl numactl-tools && \ 15 | npm install -g foxx-cli && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | COPY docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.6.0/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.1 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl numactl-tools && \ 15 | npm install -g foxx-cli && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | COPY docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.6.1/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.10/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.10 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.6.10/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.11/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.11 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.6.11/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.12/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.12 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.6.12/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.13/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.13 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.6.13/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.14/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.14 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.6.14/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.15/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.15 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.6.15/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.16/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.16 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.6.16/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.2 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl numactl-tools && \ 15 | npm install -g foxx-cli && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | COPY docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.6.2/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.3.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.3.1 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl numactl-tools && \ 15 | npm install -g foxx-cli && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | COPY docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.6.3.1/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.3 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl numactl-tools && \ 15 | npm install -g foxx-cli && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver hkps://hkps.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | COPY docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.6.3/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.10 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.4 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen nodejs npm binutils numactl numactl-tools && \ 15 | npm install -g foxx-cli && \ 16 | rm -rf /root/.npm && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | COPY docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.6.4/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/lib/node_modules/foxx-cli/bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.5 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | COPY docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.6.5/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.6 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.6.6/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.7.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.7.1 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.6.7.1/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.7 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.6.7/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.8/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.8 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.6.8/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.6.9/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.6.9 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb36/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.6/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.6/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.6.9/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.1 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | COPY docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.7.1/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.10/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.10 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.10/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.11/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.11 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.11/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.12/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.12 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.12/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.13/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.13 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.13/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.14/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.14 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.14/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.15/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.15 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.15/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.16/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.12 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.16 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.16/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.17/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.14 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.17 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.17/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.18/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.14 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.18 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.18/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.2.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.2.1 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.2.1/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.2.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.2.2 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.2.2/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.2 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | # retain the database directory and the Foxx Application directory 39 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 40 | 41 | COPY docker-entrypoint.sh /entrypoint.sh 42 | COPY docker-foxx.sh /usr/bin/foxx 43 | 44 | ENTRYPOINT ["/entrypoint.sh"] 45 | 46 | # standard port 47 | EXPOSE 8529 48 | CMD ["arangod"] 49 | -------------------------------------------------------------------------------- /alpine/3.7.2/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.3 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.3/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.5 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.5/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.6 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.6/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.7 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.7/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.8/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.8 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.8/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.7.9/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.11 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.7.9 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb37/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.7/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.7/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.7.9/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.8.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.12 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.8.0 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb38/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.8/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.8/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.8.0/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.8.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.12 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.8.1 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb38/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.8/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.8/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | echo chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | echo chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.8.1/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.8.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.12 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.8.2 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb38/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.8/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.8/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.8.2/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.8.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.12 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.8.3 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb38/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.8/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.8/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.8.3/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.8.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.12 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.8.4 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb38/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.8/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.8/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.8.4/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.8.5.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.14 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.8.5.1 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb38/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.8/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.8/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli@2.0.1 && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.8.5.1/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.8.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.14 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.8.5 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb38/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.8/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.8/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.8.5/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.8.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.14 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.8.6 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb38/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.8/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.8/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli@2.0.1 && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.8.6/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.8.7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.14 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.8.7 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb38/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.8/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.8/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli@2.0.1 && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.8.7/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.8.8/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.14 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.8.8 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb38/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.8/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.8/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli@2.0.1 && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # Adjust TZ by default since tzdata package isn't present (BTS-913) 41 | RUN echo "UTC" > /etc/timezone 42 | 43 | # retain the database directory and the Foxx Application directory 44 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 45 | 46 | COPY docker-entrypoint.sh /entrypoint.sh 47 | COPY docker-foxx.sh /usr/bin/foxx 48 | 49 | ENTRYPOINT ["/entrypoint.sh"] 50 | 51 | # standard port 52 | EXPOSE 8529 53 | CMD ["arangod"] 54 | -------------------------------------------------------------------------------- /alpine/3.8.8/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.8.9/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.14 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.8.9 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb38/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.8/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.8/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli@2.1.1 && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # Adjust TZ by default since tzdata package isn't present (BTS-913) 41 | RUN echo "UTC" > /etc/timezone 42 | 43 | # retain the database directory and the Foxx Application directory 44 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 45 | 46 | COPY docker-entrypoint.sh /entrypoint.sh 47 | COPY docker-foxx.sh /usr/bin/foxx 48 | 49 | ENTRYPOINT ["/entrypoint.sh"] 50 | 51 | # standard port 52 | EXPOSE 8529 53 | CMD ["arangod"] 54 | -------------------------------------------------------------------------------- /alpine/3.8.9/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.9.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.14 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.9.0 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb39/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.9/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.9/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli@2.0.1 && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.9.0/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.9.1/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.14 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.9.1 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb39/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.9/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.9/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli@2.0.1 && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.9.1/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.9.10/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.15 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.9.10 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb39/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.9/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.9/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli@2.1.1 && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # Adjust TZ by default since tzdata package isn't present (BTS-913) 41 | RUN echo "UTC" > /etc/timezone 42 | 43 | # retain the database directory and the Foxx Application directory 44 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 45 | 46 | COPY docker-entrypoint.sh /entrypoint.sh 47 | COPY docker-foxx.sh /usr/bin/foxx 48 | 49 | ENTRYPOINT ["/entrypoint.sh"] 50 | 51 | # standard port 52 | EXPOSE 8529 53 | CMD ["arangod"] 54 | -------------------------------------------------------------------------------- /alpine/3.9.10/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.9.11/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.15 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.9.11 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb39/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.9/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.9/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli@2.1.1 && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # Adjust TZ by default since tzdata package isn't present (BTS-913) 41 | RUN echo "UTC" > /etc/timezone 42 | 43 | # retain the database directory and the Foxx Application directory 44 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 45 | 46 | COPY docker-entrypoint.sh /entrypoint.sh 47 | COPY docker-foxx.sh /usr/bin/foxx 48 | 49 | ENTRYPOINT ["/entrypoint.sh"] 50 | 51 | # standard port 52 | EXPOSE 8529 53 | CMD ["arangod"] 54 | -------------------------------------------------------------------------------- /alpine/3.9.11/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.9.12/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.15 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.9.12 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb39/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.9/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.9/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli@2.1.1 && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # Adjust TZ by default since tzdata package isn't present (BTS-913) 41 | RUN echo "UTC" > /etc/timezone 42 | 43 | # retain the database directory and the Foxx Application directory 44 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 45 | 46 | COPY docker-entrypoint.sh /entrypoint.sh 47 | COPY docker-foxx.sh /usr/bin/foxx 48 | 49 | ENTRYPOINT ["/entrypoint.sh"] 50 | 51 | # standard port 52 | EXPOSE 8529 53 | CMD ["arangod"] 54 | -------------------------------------------------------------------------------- /alpine/3.9.12/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.9.2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.14 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.9.2 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb39/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.9/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.9/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli@2.0.1 && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # retain the database directory and the Foxx Application directory 41 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 42 | 43 | COPY docker-entrypoint.sh /entrypoint.sh 44 | COPY docker-foxx.sh /usr/bin/foxx 45 | 46 | ENTRYPOINT ["/entrypoint.sh"] 47 | 48 | # standard port 49 | EXPOSE 8529 50 | CMD ["arangod"] 51 | -------------------------------------------------------------------------------- /alpine/3.9.2/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.9.3/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.14 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.9.3 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb39/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.9/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.9/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli@2.0.1 && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # Adjust TZ by default since tzdata package isn't present (BTS-913) 41 | RUN echo "UTC" > /etc/timezone 42 | 43 | # retain the database directory and the Foxx Application directory 44 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 45 | 46 | COPY docker-entrypoint.sh /entrypoint.sh 47 | COPY docker-foxx.sh /usr/bin/foxx 48 | 49 | ENTRYPOINT ["/entrypoint.sh"] 50 | 51 | # standard port 52 | EXPOSE 8529 53 | CMD ["arangod"] 54 | -------------------------------------------------------------------------------- /alpine/3.9.3/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.9.4/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.14 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.9.4 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb39/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.9/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.9/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli@2.0.1 && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # Adjust TZ by default since tzdata package isn't present (BTS-913) 41 | RUN echo "UTC" > /etc/timezone 42 | 43 | # retain the database directory and the Foxx Application directory 44 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 45 | 46 | COPY docker-entrypoint.sh /entrypoint.sh 47 | COPY docker-foxx.sh /usr/bin/foxx 48 | 49 | ENTRYPOINT ["/entrypoint.sh"] 50 | 51 | # standard port 52 | EXPOSE 8529 53 | CMD ["arangod"] 54 | -------------------------------------------------------------------------------- /alpine/3.9.4/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.9.5/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.14 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.9.5 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb39/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.9/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.9/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli@2.1.0 && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # Adjust TZ by default since tzdata package isn't present (BTS-913) 41 | RUN echo "UTC" > /etc/timezone 42 | 43 | # retain the database directory and the Foxx Application directory 44 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 45 | 46 | COPY docker-entrypoint.sh /entrypoint.sh 47 | COPY docker-foxx.sh /usr/bin/foxx 48 | 49 | ENTRYPOINT ["/entrypoint.sh"] 50 | 51 | # standard port 52 | EXPOSE 8529 53 | CMD ["arangod"] 54 | -------------------------------------------------------------------------------- /alpine/3.9.5/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.9.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.14 2 | MAINTAINER Frank Celler 3 | 4 | ENV ARANGO_VERSION 3.9.6 5 | ENV ARANGO_URL https://download.arangodb.com/arangodb39/DEBIAN/amd64 6 | ENV ARANGO_PACKAGE arangodb3_${ARANGO_VERSION}-1_amd64.deb 7 | ENV ARANGO_PACKAGE_URL ${ARANGO_URL}/${ARANGO_PACKAGE} 8 | ENV ARANGO_SIGNATURE_URL ${ARANGO_PACKAGE_URL}.asc 9 | 10 | # see 11 | # https://www.arangodb.com/docs/3.9/programs-arangod-server.html#managing-endpoints 12 | # https://www.arangodb.com/docs/3.9/programs-arangod-log.html 13 | 14 | RUN apk add --no-cache gnupg pwgen binutils numactl numactl-tools nodejs yarn && \ 15 | yarn global add foxx-cli@2.1.1 && \ 16 | apk del yarn && \ 17 | gpg --batch --keyserver keys.openpgp.org --recv-keys CD8CB0F1E0AD5B52E93F41E7EA93F5E56E751E9B && \ 18 | mkdir /docker-entrypoint-initdb.d && \ 19 | cd /tmp && \ 20 | wget ${ARANGO_SIGNATURE_URL} && \ 21 | wget ${ARANGO_PACKAGE_URL} && \ 22 | gpg --verify ${ARANGO_PACKAGE}.asc && \ 23 | ar x ${ARANGO_PACKAGE} data.tar.gz && \ 24 | tar -C / -x -z -f data.tar.gz && \ 25 | sed -ri \ 26 | -e 's!127\.0\.0\.1!0.0.0.0!g' \ 27 | -e 's!^(file\s*=\s*).*!\1 -!' \ 28 | -e 's!^\s*uid\s*=.*!!' \ 29 | /etc/arangodb3/arangod.conf && \ 30 | chgrp -R 0 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 31 | chmod -R 775 /var/lib/arangodb3 /var/lib/arangodb3-apps && \ 32 | rm -f /usr/bin/foxx && \ 33 | rm -f ${ARANGO_PACKAGE}* data.tar.gz && \ 34 | apk del gnupg 35 | # Note that Openshift runs containers by default with a random UID and GID 0. 36 | # We need that the database and apps directory are writable for this config. 37 | 38 | ENV GLIBCXX_FORCE_NEW=1 39 | 40 | # Adjust TZ by default since tzdata package isn't present (BTS-913) 41 | RUN echo "UTC" > /etc/timezone 42 | 43 | # retain the database directory and the Foxx Application directory 44 | VOLUME ["/var/lib/arangodb3", "/var/lib/arangodb3-apps"] 45 | 46 | COPY docker-entrypoint.sh /entrypoint.sh 47 | COPY docker-foxx.sh /usr/bin/foxx 48 | 49 | ENTRYPOINT ["/entrypoint.sh"] 50 | 51 | # standard port 52 | EXPOSE 8529 53 | CMD ["arangod"] 54 | -------------------------------------------------------------------------------- /alpine/3.9.6/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.9.7/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.9.8/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /alpine/3.9.9/docker-foxx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | test -d /tmp/foxx || mkdir -m 700 /tmp/foxx 3 | export HOME=/tmp/foxx 4 | exec /usr/local/share/.config/yarn/global/node_modules/.bin/foxx "$@" 5 | -------------------------------------------------------------------------------- /build_docker_library_file.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | while [ $# -gt 0 ]; do 5 | case "$1" in 6 | --isMajorRelease) 7 | shift 8 | NEW_MAJOR_RELEASE=$1 9 | shift 10 | ;; 11 | --gitBranch) 12 | shift 13 | GITBRANCH=$1 14 | shift 15 | ;; 16 | --gitTag) 17 | shift 18 | GITTAG=$1 19 | shift 20 | ;; 21 | --releaseVersion) 22 | shift 23 | RELEASE_VERSION=$1 24 | shift 25 | ;; 26 | *) 27 | echo "don't understand $1" 28 | exit 1 29 | ;; 30 | esac 31 | done 32 | 33 | if [ "${NEW_MAJOR_RELEASE}" == "true" ]; then 34 | cat library/arangodb \ 35 | | grep -v "${GITBRANCH}" \ 36 | | grep -v latest > /tmp/docker_library_template 37 | else 38 | cat library/arangodb \ 39 | | grep -v "${GITBRANCH}" > /tmp/docker_library_template 40 | fi 41 | 42 | echo "${GITBRANCH}: https://github.com/arangodb/arangodb-docker@${RELEASE_VERSION} stretch/${GITTAG}" >> /tmp/docker_library_template 43 | echo "${GITTAG}: https://github.com/arangodb/arangodb-docker@${RELEASE_VERSION} stretch/${GITTAG}" >> /tmp/docker_library_template 44 | 45 | if grep -q latest /tmp/docker_library_template ; then 46 | echo "This is not our newest branch. - thus this is not going to change the LATEST entry." 47 | else 48 | echo "Adding this version as the LATEST entry:" 49 | echo "latest: https://github.com/arangodb/arangodb-docker@${RELEASE_VERSION} stretch/${GITTAG}" >> /tmp/docker_library_template 50 | fi 51 | 52 | echo "the official docker library file 'library/arangodb' is now: " 53 | cat /tmp/docker_library_template 54 | 55 | # now we send the pull request to the official docker library: 56 | # ############################################################ 57 | cp /tmp/docker_library_template library/arangodb 58 | -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arangodb/arangodb-docker/8b486ff8c7b63e75c19f2bee37b756e9c0ba620f/logo.png -------------------------------------------------------------------------------- /mapVersions.txt: -------------------------------------------------------------------------------- 1 | 3.0;Dockerfile3.local;docker-entrypoint3.sh 2 | 3.1;Dockerfile31.local;docker-entrypoint31.sh 3 | 3.2;Dockerfile32.local;docker-entrypoint32.sh 4 | 3.3;Dockerfile33.local;docker-entrypoint33.sh 5 | 3.4;Dockerfile34.local;docker-entrypoint34.sh 6 | devel;Dockerfile34.local;docker-entrypoint34.sh 7 | -------------------------------------------------------------------------------- /test-user-scripts/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM arangodb/testdrivearangodocker 2 | MAINTAINER Frank Celler 3 | 4 | COPY test.js /docker-entrypoint-initdb.d 5 | 6 | COPY test.sh /docker-entrypoint-initdb.d 7 | 8 | COPY dumps /docker-entrypoint-initdb.d/dumps 9 | 10 | COPY verify.js / 11 | -------------------------------------------------------------------------------- /test-user-scripts/README.md: -------------------------------------------------------------------------------- 1 | ArangoDB Docker Selftest container 2 | ================================== 3 | This container is intended to demonstrate & test the derivate mechanism of the ArangoDB Docker Container. 4 | 5 | It will utilize the 3 different ways of running users scripts in the `/docker-entrypoint-initdb.d` directory: 6 | 7 | - a javascript file 8 | - a shellscript 9 | - restoring data into arangodb 10 | 11 | It copies verify.js into the container, which can revalidate whether all of the 3 actions above were executed successfully. 12 | -------------------------------------------------------------------------------- /test-user-scripts/dumps/KnowsGraph/_aqlfunctions_8293af7a2caabc3098bc21db7ce2759d.data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arangodb/arangodb-docker/8b486ff8c7b63e75c19f2bee37b756e9c0ba620f/test-user-scripts/dumps/KnowsGraph/_aqlfunctions_8293af7a2caabc3098bc21db7ce2759d.data.json -------------------------------------------------------------------------------- /test-user-scripts/dumps/KnowsGraph/_aqlfunctions_8293af7a2caabc3098bc21db7ce2759d.structure.json: -------------------------------------------------------------------------------- 1 | {"indexes":[],"parameters":{"allowUserKeys":true,"cid":"61658","deleted":false,"id":"61658","indexes":[{"fields":["_key"],"id":"0","objectId":"61659","selectivityEstimate":1,"sparse":false,"type":"primary","unique":true}],"isSmart":false,"isSystem":true,"keyOptions":{"allowUserKeys":true,"type":"traditional"},"name":"_aqlfunctions","numberOfShards":1,"objectId":"61657","planId":"61658","replicationFactor":2,"shardKeys":["_key"],"shards":{},"status":3,"type":2,"version":6,"waitForSync":false}} -------------------------------------------------------------------------------- /test-user-scripts/dumps/KnowsGraph/_frontend_33a4de9a99a6607c1ea19444d2424dee.data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arangodb/arangodb-docker/8b486ff8c7b63e75c19f2bee37b756e9c0ba620f/test-user-scripts/dumps/KnowsGraph/_frontend_33a4de9a99a6607c1ea19444d2424dee.data.json -------------------------------------------------------------------------------- /test-user-scripts/dumps/KnowsGraph/_frontend_33a4de9a99a6607c1ea19444d2424dee.structure.json: -------------------------------------------------------------------------------- 1 | {"indexes":[],"parameters":{"allowUserKeys":true,"cid":"61661","deleted":false,"id":"61661","indexes":[{"fields":["_key"],"id":"0","objectId":"61662","selectivityEstimate":1,"sparse":false,"type":"primary","unique":true}],"isSmart":false,"isSystem":true,"keyOptions":{"allowUserKeys":true,"type":"traditional"},"name":"_frontend","numberOfShards":1,"objectId":"61660","planId":"61661","replicationFactor":2,"shardKeys":["_key"],"shards":{},"status":3,"type":2,"version":6,"waitForSync":false}} -------------------------------------------------------------------------------- /test-user-scripts/dumps/KnowsGraph/_graphs_c827636f2b54efb49f1f02feeeacfb01.data.json: -------------------------------------------------------------------------------- 1 | {"data":{"_id":"_graphs/knows_graph","_key":"knows_graph","_rev":"_V_UU4xe---","edgeDefinitions":[{"collection":"knows","from":["persons"],"to":["persons"]}],"orphanCollections":[]},"type":2300} 2 | -------------------------------------------------------------------------------- /test-user-scripts/dumps/KnowsGraph/_graphs_c827636f2b54efb49f1f02feeeacfb01.structure.json: -------------------------------------------------------------------------------- 1 | {"indexes":[],"parameters":{"allowUserKeys":true,"cid":"61642","deleted":false,"id":"61642","indexes":[{"fields":["_key"],"id":"0","objectId":"61643","selectivityEstimate":1,"sparse":false,"type":"primary","unique":true}],"isSmart":false,"isSystem":true,"keyOptions":{"allowUserKeys":true,"type":"traditional"},"name":"_graphs","numberOfShards":1,"objectId":"61641","planId":"61642","replicationFactor":2,"shardKeys":["_key"],"shards":{},"status":3,"type":2,"version":6,"waitForSync":false}} -------------------------------------------------------------------------------- /test-user-scripts/dumps/KnowsGraph/_modules_5a8c8ba0d331b61fccfd1e88cfedce00.data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arangodb/arangodb-docker/8b486ff8c7b63e75c19f2bee37b756e9c0ba620f/test-user-scripts/dumps/KnowsGraph/_modules_5a8c8ba0d331b61fccfd1e88cfedce00.data.json -------------------------------------------------------------------------------- /test-user-scripts/dumps/KnowsGraph/_modules_5a8c8ba0d331b61fccfd1e88cfedce00.structure.json: -------------------------------------------------------------------------------- 1 | {"indexes":[],"parameters":{"allowUserKeys":true,"cid":"61645","deleted":false,"id":"61645","indexes":[{"fields":["_key"],"id":"0","objectId":"61646","selectivityEstimate":1,"sparse":false,"type":"primary","unique":true}],"isSmart":false,"isSystem":true,"keyOptions":{"allowUserKeys":true,"type":"traditional"},"name":"_modules","numberOfShards":1,"objectId":"61644","planId":"61645","replicationFactor":2,"shardKeys":["_key"],"shards":{},"status":3,"type":2,"version":6,"waitForSync":false}} -------------------------------------------------------------------------------- /test-user-scripts/dumps/KnowsGraph/_routing_2c45c18bea1c0e35cd63e70a266341c2.data.json: -------------------------------------------------------------------------------- 1 | {"data":{"_id":"_routing/61652","_key":"61652","_rev":"_V_UUa3i---","action":{"do":"@arangodb/actions/redirectRequest","options":{"destination":"/_db/test/_admin/aardvark/index.html","permanently":true}},"priority":-1000000,"url":"/"},"type":2300} 2 | {"data":{"_id":"_routing/61654","_key":"61654","_rev":"_V_UUa3i--A","action":{"do":"@arangodb/actions/redirectRequest","options":{"destination":"/_db/test/_admin/aardvark/index.html","permanently":true}},"priority":-1000000,"url":"/_admin/html"},"type":2300} 3 | {"data":{"_id":"_routing/61656","_key":"61656","_rev":"_V_UUa3i--B","action":{"do":"@arangodb/actions/redirectRequest","options":{"destination":"/_db/test/_admin/aardvark/index.html","permanently":true}},"priority":-1000000,"url":"/_admin/html/index.html"},"type":2300} 4 | -------------------------------------------------------------------------------- /test-user-scripts/dumps/KnowsGraph/_routing_2c45c18bea1c0e35cd63e70a266341c2.structure.json: -------------------------------------------------------------------------------- 1 | {"indexes":[],"parameters":{"allowUserKeys":true,"cid":"61648","deleted":false,"id":"61648","indexes":[{"fields":["_key"],"id":"0","objectId":"61649","selectivityEstimate":1,"sparse":false,"type":"primary","unique":true}],"isSmart":false,"isSystem":true,"keyOptions":{"allowUserKeys":true,"type":"traditional"},"name":"_routing","numberOfShards":1,"objectId":"61647","planId":"61648","replicationFactor":2,"shardKeys":["_key"],"shards":{},"status":3,"type":2,"version":6,"waitForSync":false}} -------------------------------------------------------------------------------- /test-user-scripts/dumps/KnowsGraph/dump.json: -------------------------------------------------------------------------------- 1 | {"database":"test","lastTickAtDumpStart":"62017"} -------------------------------------------------------------------------------- /test-user-scripts/dumps/KnowsGraph/knows_6047cc85618dc1f4307e80ecfb65e5a6.data.json: -------------------------------------------------------------------------------- 1 | {"data":{"_from":"persons/alice","_id":"knows/61742","_key":"61742","_rev":"_V_UU4yC---","_to":"persons/bob"},"type":2300} 2 | {"data":{"_from":"persons/bob","_id":"knows/61744","_key":"61744","_rev":"_V_UU4yG---","_to":"persons/charlie"},"type":2300} 3 | {"data":{"_from":"persons/bob","_id":"knows/61746","_key":"61746","_rev":"_V_UU4yG--_","_to":"persons/dave"},"type":2300} 4 | {"data":{"_from":"persons/eve","_id":"knows/61748","_key":"61748","_rev":"_V_UU4yK---","_to":"persons/alice"},"type":2300} 5 | {"data":{"_from":"persons/eve","_id":"knows/61750","_key":"61750","_rev":"_V_UU4yK--_","_to":"persons/bob"},"type":2300} 6 | -------------------------------------------------------------------------------- /test-user-scripts/dumps/KnowsGraph/knows_6047cc85618dc1f4307e80ecfb65e5a6.structure.json: -------------------------------------------------------------------------------- 1 | {"indexes":[],"parameters":{"allowUserKeys":true,"cid":"61731","deleted":false,"id":"61731","indexes":[{"fields":["_key"],"id":"0","objectId":"61732","selectivityEstimate":1,"sparse":false,"type":"primary","unique":true},{"fields":["_from"],"id":"1","objectId":"61733","selectivityEstimate":1,"sparse":false,"type":"edge","unique":false},{"fields":["_to"],"id":"2","objectId":"61734","selectivityEstimate":1,"sparse":false,"type":"edge","unique":false}],"isSmart":false,"isSystem":false,"keyOptions":{"allowUserKeys":true,"type":"traditional"},"name":"knows","numberOfShards":1,"objectId":"61730","planId":"61731","replicationFactor":1,"shardKeys":["_key"],"shards":{},"status":3,"type":3,"version":6,"waitForSync":false}} -------------------------------------------------------------------------------- /test-user-scripts/dumps/KnowsGraph/persons_d20dd267d55aba2427ce07f1f8b4d46e.data.json: -------------------------------------------------------------------------------- 1 | {"data":{"_id":"persons/alice","_key":"alice","_rev":"_V_UU4x6---","name":"Alice"},"type":2300} 2 | {"data":{"_id":"persons/bob","_key":"bob","_rev":"_V_UU4y----","name":"Bob"},"type":2300} 3 | {"data":{"_id":"persons/charlie","_key":"charlie","_rev":"_V_UU4y---_","name":"Charlie"},"type":2300} 4 | {"data":{"_id":"persons/dave","_key":"dave","_rev":"_V_UU4y---A","name":"Dave"},"type":2300} 5 | {"data":{"_id":"persons/eve","_key":"eve","_rev":"_V_UU4y---B","name":"Eve"},"type":2300} 6 | -------------------------------------------------------------------------------- /test-user-scripts/dumps/KnowsGraph/persons_d20dd267d55aba2427ce07f1f8b4d46e.structure.json: -------------------------------------------------------------------------------- 1 | {"indexes":[],"parameters":{"allowUserKeys":true,"cid":"61728","deleted":false,"id":"61728","indexes":[{"fields":["_key"],"id":"0","objectId":"61729","selectivityEstimate":1,"sparse":false,"type":"primary","unique":true}],"isSmart":false,"isSystem":false,"keyOptions":{"allowUserKeys":true,"type":"traditional"},"name":"persons","numberOfShards":1,"objectId":"61727","planId":"61728","replicationFactor":1,"shardKeys":["_key"],"shards":{},"status":3,"type":2,"version":6,"waitForSync":false}} -------------------------------------------------------------------------------- /test-user-scripts/test.js: -------------------------------------------------------------------------------- 1 | db._create('testcollection_from_js_test'); 2 | -------------------------------------------------------------------------------- /test-user-scripts/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | /usr/bin/arangosh \ 3 | --server.endpoint=unix:///tmp/arangodb-tmp.sock \ 4 | --server.password ${ARANGO_ROOT_PASSWORD} \ 5 | --javascript.execute-string "db._create('testcollection_from_sh_test');" 6 | -------------------------------------------------------------------------------- /test-user-scripts/verify.js: -------------------------------------------------------------------------------- 1 | if (db._collection('testcollection_from_js_test') === null) { 2 | throw new Error("test javascript didn't run"); 3 | } 4 | if (db._collection('testcollection_from_sh_test') === null) { 5 | throw new Error("test shellscript didn't run"); 6 | } 7 | if (db._databases().indexOf('KnowsGraph') < 0) { 8 | throw new Error("test import didn't create its database"); 9 | } 10 | db._useDatabase('KnowsGraph'); 11 | 12 | if (db._collection('knows') === null) { 13 | throw new Error("Import didn't create 'knows'-collection!"); 14 | } 15 | if (db._collection('persons') === null) { 16 | throw new Error("Import didn't create 'persons'-collection!"); 17 | } 18 | 19 | if (db.knows.toArray().length !== 5) { 20 | throw new Error("Import didn't create all documents in the 'knows'-collection!"); 21 | } 22 | if (db.persons.toArray().length !== 5) { 23 | throw new Error("Import didn't create all documents in the 'persons'-collection!"); 24 | } 25 | --------------------------------------------------------------------------------