2024-02-28 10:51:08 UTC
284 MB
/opt/java/openjdk
NEO4J_EDITIONcommunity
NEO4J_HOME/var/lib/neo4j
NEO4J_SHA2566a6849c69cf156e54cdab7dd6c938405fc4b3253227f816a01a833878679e193
NEO4J_TARBALLneo4j-community-4.4.31-unix.tar.gz
PATH/var/lib/neo4j/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:c0edef2937fa3b888b0cc3f9f5a4db00a1be6f297be5f057a77d738f91e675a0 - 10.57% (30 MB)
[#001] sha256:c3db5dd28d669c9f670b2b86ab8ffd8e959e44c256bbb82fc988289462178ea5 - 48.87% (139 MB)
[#002] sha256:bc7e0512782d1b5e01e3f107fbd639184ee1428acd43f6f4836e3c96ee225c89 - 0.0% (3.75 KB)
[#003] sha256:6de256553643941078cf58f628a6570978b59e7c95c4b9ef1f9c448873580708 - 0.0% (9.2 KB)
[#004] sha256:c4fd990c3cc6b1b8ad7eaa88aad92f0f691e8c0dd03de702362a4f1de1cf29eb - 40.56% (115 MB)
[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ADD file:3cd55ecee0ffd78be95dd5842ecd3171631aaccaae50fe41f6bf60ad5be6aaa9 in /
2024-02-28 10:51:08 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)COPY /opt/java/openjdk /opt/java/openjdk # buildkit
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NEO4J_SHA256=6a6849c69cf156e54cdab7dd6c938405fc4b3253227f816a01a833878679e193 NEO4J_TARBALL=neo4j-community-4.4.31-unix.tar.gz NEO4J_EDITION=community NEO4J_HOME=/var/lib/neo4j
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)ARG NEO4J_URI=https://dist.neo4j.org/neo4j-community-4.4.31-unix.tar.gz
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)RUN |1 NEO4J_URI=https://dist.neo4j.org/neo4j-community-4.4.31-unix.tar.gz /bin/sh -c addgroup --gid 7474 --system neo4j && adduser --uid 7474 --system --no-create-home --home "${NEO4J_HOME}" --ingroup neo4j neo4j # buildkit
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)COPY ./local-package/* /startup/ # buildkit
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)RUN |1 NEO4J_URI=https://dist.neo4j.org/neo4j-community-4.4.31-unix.tar.gz /bin/sh -c apt update && apt-get install -y curl gcc git jq make procps tini wget && curl --fail --silent --show-error --location --remote-name ${NEO4J_URI} && echo "${NEO4J_SHA256} ${NEO4J_TARBALL}" | sha256sum -c --strict --quiet && tar --extract --file ${NEO4J_TARBALL} --directory /var/lib && mv /var/lib/neo4j-* "${NEO4J_HOME}" && rm ${NEO4J_TARBALL} && mv "${NEO4J_HOME}"/data /data && mv "${NEO4J_HOME}"/logs /logs && chown -R neo4j:neo4j /data && chmod -R 777 /data && chown -R neo4j:neo4j /logs && chmod -R 777 /logs && chown -R neo4j:neo4j "${NEO4J_HOME}" && chmod -R 777 "${NEO4J_HOME}" && ln -s /data "${NEO4J_HOME}"/data && ln -s /logs "${NEO4J_HOME}"/logs && ln -s /startup/docker-entrypoint.sh /docker-entrypoint.sh && mv /startup/neo4j-admin-report.sh "${NEO4J_HOME}"/bin/neo4j-admin-report && git clone https://github.com/ncopa/su-exec.git && cd su-exec && git checkout 4c3bb42b093f14da70d8ab924b487ccfbb1397af && echo d6c40440609a23483f12eb6295b5191e94baf08298a856bab6e15b10c3b82891 su-exec.c | sha256sum -c && echo 2a87af245eb125aca9305a0b1025525ac80825590800f047419dc57bba36b334 Makefile | sha256sum -c && make && mv /su-exec/su-exec /usr/bin/su-exec && apt-get -y purge --auto-remove curl gcc git make && rm -rf /var/lib/apt/lists/* /su-exec # buildkit
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)ENV PATH=/var/lib/neo4j/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)WORKDIR /var/lib/neo4j
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)VOLUME [/data /logs]
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)EXPOSE map[7473/tcp:{} 7474/tcp:{} 7687/tcp:{}]
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["tini" "-g" "--" "/startup/docker-entrypoint.sh"]
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)CMD ["neo4j"]
2024-02-28 10:51:08 UTC
279 MB
/opt/java/openjdk
NEO4J_EDITIONcommunity
NEO4J_HOME/var/lib/neo4j
NEO4J_SHA2566a6849c69cf156e54cdab7dd6c938405fc4b3253227f816a01a833878679e193
NEO4J_TARBALLneo4j-community-4.4.31-unix.tar.gz
PATH/var/lib/neo4j/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:ef2fb7c49f69b9eefb25f02b600342129757e69bb130d53b98ba46ddde18effc - 10.28% (28.7 MB)
[#001] sha256:3cf6f91a0d0df121729e6da9bb241924491f408ab746eed8f0b43c7b5dc80aaa - 48.53% (135 MB)
[#002] sha256:ee2273d01ed7414121c6e24d0df5c8b3bd6bb32ffd8c3dfeea46bdef4469308e - 0.0% (3.78 KB)
[#003] sha256:cc8f1a36ad27de5fa66e9e81c5608d6f171c5352baea827c16da4f0cf4b083b0 - 0.0% (9.2 KB)
[#004] sha256:90fd8b255e5e00937ea3b69e7b9d44aceebc3e9ef1d6270dff797a1ba37a65ad - 41.19% (115 MB)
[#005] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ADD file:e5a8bb54381b61b31ee885b2841ecde6315a03685b0e7f33f736889d8e7768a2 in /
2024-02-28 10:51:08 UTC/bin/sh -c #(nop) CMD ["bash"]
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)COPY /opt/java/openjdk /opt/java/openjdk # buildkit
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin NEO4J_SHA256=6a6849c69cf156e54cdab7dd6c938405fc4b3253227f816a01a833878679e193 NEO4J_TARBALL=neo4j-community-4.4.31-unix.tar.gz NEO4J_EDITION=community NEO4J_HOME=/var/lib/neo4j
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)ARG NEO4J_URI=https://dist.neo4j.org/neo4j-community-4.4.31-unix.tar.gz
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)RUN |1 NEO4J_URI=https://dist.neo4j.org/neo4j-community-4.4.31-unix.tar.gz /bin/sh -c addgroup --gid 7474 --system neo4j && adduser --uid 7474 --system --no-create-home --home "${NEO4J_HOME}" --ingroup neo4j neo4j # buildkit
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)COPY ./local-package/* /startup/ # buildkit
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)RUN |1 NEO4J_URI=https://dist.neo4j.org/neo4j-community-4.4.31-unix.tar.gz /bin/sh -c apt update && apt-get install -y curl gcc git jq make procps tini wget && curl --fail --silent --show-error --location --remote-name ${NEO4J_URI} && echo "${NEO4J_SHA256} ${NEO4J_TARBALL}" | sha256sum -c --strict --quiet && tar --extract --file ${NEO4J_TARBALL} --directory /var/lib && mv /var/lib/neo4j-* "${NEO4J_HOME}" && rm ${NEO4J_TARBALL} && mv "${NEO4J_HOME}"/data /data && mv "${NEO4J_HOME}"/logs /logs && chown -R neo4j:neo4j /data && chmod -R 777 /data && chown -R neo4j:neo4j /logs && chmod -R 777 /logs && chown -R neo4j:neo4j "${NEO4J_HOME}" && chmod -R 777 "${NEO4J_HOME}" && ln -s /data "${NEO4J_HOME}"/data && ln -s /logs "${NEO4J_HOME}"/logs && ln -s /startup/docker-entrypoint.sh /docker-entrypoint.sh && mv /startup/neo4j-admin-report.sh "${NEO4J_HOME}"/bin/neo4j-admin-report && git clone https://github.com/ncopa/su-exec.git && cd su-exec && git checkout 4c3bb42b093f14da70d8ab924b487ccfbb1397af && echo d6c40440609a23483f12eb6295b5191e94baf08298a856bab6e15b10c3b82891 su-exec.c | sha256sum -c && echo 2a87af245eb125aca9305a0b1025525ac80825590800f047419dc57bba36b334 Makefile | sha256sum -c && make && mv /su-exec/su-exec /usr/bin/su-exec && apt-get -y purge --auto-remove curl gcc git make && rm -rf /var/lib/apt/lists/* /su-exec # buildkit
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)ENV PATH=/var/lib/neo4j/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)WORKDIR /var/lib/neo4j
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)VOLUME [/data /logs]
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)EXPOSE map[7473/tcp:{} 7474/tcp:{} 7687/tcp:{}]
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["tini" "-g" "--" "/startup/docker-entrypoint.sh"]
2024-02-28 10:51:08 UTC (buildkit.dockerfile.v0)CMD ["neo4j"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.