From c3ed47f1d9c0faec305dda20e930ceb03623679d Mon Sep 17 00:00:00 2001 From: Oleksandr Yakushev Date: Tue, 28 May 2024 09:24:19 +0300 Subject: [PATCH 1/2] Create /root/.lein/ directory in advance --- src/docker_clojure/dockerfile/lein.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/docker_clojure/dockerfile/lein.clj b/src/docker_clojure/dockerfile/lein.clj index 44e2602..c17ab48 100644 --- a/src/docker_clojure/dockerfile/lein.clj +++ b/src/docker_clojure/dockerfile/lein.clj @@ -61,6 +61,7 @@ "gpgconf --kill all" "rm -rf \"$GNUPGHOME\" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc" "mkdir -p /usr/share/java" + "mkdir -p /root/.lein" "mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar"] (empty? uninstall-dep-cmds)) (concat-commands uninstall-dep-cmds :end) From 1a6d7afa621d6411e6978f2e9ebd07529b3282be Mon Sep 17 00:00:00 2001 From: Oleksandr Yakushev Date: Tue, 28 May 2024 09:29:56 +0300 Subject: [PATCH 2/2] Update Dockerfiles with /root/.lein directory --- target/debian-bookworm-11/lein/Dockerfile | 1 + target/debian-bookworm-17/lein/Dockerfile | 1 + target/debian-bookworm-21/latest/Dockerfile | 1 + target/debian-bookworm-21/lein/Dockerfile | 1 + target/debian-bookworm-22/lein/Dockerfile | 1 + target/debian-bookworm-8/lein/Dockerfile | 1 + target/debian-bookworm-slim-11/lein/Dockerfile | 1 + target/debian-bookworm-slim-17/lein/Dockerfile | 1 + target/debian-bookworm-slim-21/lein/Dockerfile | 1 + target/debian-bookworm-slim-22/lein/Dockerfile | 1 + target/debian-bookworm-slim-8/lein/Dockerfile | 1 + target/debian-bullseye-11/lein/Dockerfile | 1 + target/debian-bullseye-17/lein/Dockerfile | 1 + target/debian-bullseye-21/lein/Dockerfile | 1 + target/debian-bullseye-22/lein/Dockerfile | 1 + target/debian-bullseye-8/lein/Dockerfile | 1 + target/debian-bullseye-slim-11/lein/Dockerfile | 1 + target/debian-bullseye-slim-17/lein/Dockerfile | 1 + target/debian-bullseye-slim-21/lein/Dockerfile | 1 + target/debian-bullseye-slim-22/lein/Dockerfile | 1 + target/debian-bullseye-slim-8/lein/Dockerfile | 1 + target/eclipse-temurin-11-jdk-alpine/lein/Dockerfile | 1 + target/eclipse-temurin-11-jdk-focal/lein/Dockerfile | 1 + target/eclipse-temurin-11-jdk-jammy/lein/Dockerfile | 1 + target/eclipse-temurin-17-jdk-alpine/lein/Dockerfile | 1 + target/eclipse-temurin-17-jdk-focal/lein/Dockerfile | 1 + target/eclipse-temurin-17-jdk-jammy/lein/Dockerfile | 1 + target/eclipse-temurin-21-jdk-alpine/lein/Dockerfile | 1 + target/eclipse-temurin-21-jdk-jammy/lein/Dockerfile | 1 + target/eclipse-temurin-22-jdk-alpine/lein/Dockerfile | 1 + target/eclipse-temurin-22-jdk-jammy/lein/Dockerfile | 1 + target/eclipse-temurin-8-jdk-alpine/lein/Dockerfile | 1 + target/eclipse-temurin-8-jdk-focal/lein/Dockerfile | 1 + target/eclipse-temurin-8-jdk-jammy/lein/Dockerfile | 1 + 34 files changed, 34 insertions(+) diff --git a/target/debian-bookworm-11/lein/Dockerfile b/target/debian-bookworm-11/lein/Dockerfile index 5958660..93c28c1 100644 --- a/target/debian-bookworm-11/lein/Dockerfile +++ b/target/debian-bookworm-11/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bookworm-17/lein/Dockerfile b/target/debian-bookworm-17/lein/Dockerfile index 7756113..4afe2bb 100644 --- a/target/debian-bookworm-17/lein/Dockerfile +++ b/target/debian-bookworm-17/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bookworm-21/latest/Dockerfile b/target/debian-bookworm-21/latest/Dockerfile index 0737a98..941b9dc 100644 --- a/target/debian-bookworm-21/latest/Dockerfile +++ b/target/debian-bookworm-21/latest/Dockerfile @@ -33,6 +33,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bookworm-21/lein/Dockerfile b/target/debian-bookworm-21/lein/Dockerfile index 09d8b79..32d2103 100644 --- a/target/debian-bookworm-21/lein/Dockerfile +++ b/target/debian-bookworm-21/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bookworm-22/lein/Dockerfile b/target/debian-bookworm-22/lein/Dockerfile index 5e44fed..37b3b7d 100644 --- a/target/debian-bookworm-22/lein/Dockerfile +++ b/target/debian-bookworm-22/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bookworm-8/lein/Dockerfile b/target/debian-bookworm-8/lein/Dockerfile index e8b236b..76a6bfa 100644 --- a/target/debian-bookworm-8/lein/Dockerfile +++ b/target/debian-bookworm-8/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bookworm-slim-11/lein/Dockerfile b/target/debian-bookworm-slim-11/lein/Dockerfile index 4cc7f81..b699a4c 100644 --- a/target/debian-bookworm-slim-11/lein/Dockerfile +++ b/target/debian-bookworm-slim-11/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bookworm-slim-17/lein/Dockerfile b/target/debian-bookworm-slim-17/lein/Dockerfile index 2f619c0..38ad122 100644 --- a/target/debian-bookworm-slim-17/lein/Dockerfile +++ b/target/debian-bookworm-slim-17/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bookworm-slim-21/lein/Dockerfile b/target/debian-bookworm-slim-21/lein/Dockerfile index 8ff8f0f..edeaf30 100644 --- a/target/debian-bookworm-slim-21/lein/Dockerfile +++ b/target/debian-bookworm-slim-21/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bookworm-slim-22/lein/Dockerfile b/target/debian-bookworm-slim-22/lein/Dockerfile index cb14366..7f14e54 100644 --- a/target/debian-bookworm-slim-22/lein/Dockerfile +++ b/target/debian-bookworm-slim-22/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bookworm-slim-8/lein/Dockerfile b/target/debian-bookworm-slim-8/lein/Dockerfile index 7879d34..f77abb7 100644 --- a/target/debian-bookworm-slim-8/lein/Dockerfile +++ b/target/debian-bookworm-slim-8/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bullseye-11/lein/Dockerfile b/target/debian-bullseye-11/lein/Dockerfile index d1d303c..385771c 100644 --- a/target/debian-bullseye-11/lein/Dockerfile +++ b/target/debian-bullseye-11/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bullseye-17/lein/Dockerfile b/target/debian-bullseye-17/lein/Dockerfile index 5ff2ada..2b89f86 100644 --- a/target/debian-bullseye-17/lein/Dockerfile +++ b/target/debian-bullseye-17/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bullseye-21/lein/Dockerfile b/target/debian-bullseye-21/lein/Dockerfile index 61f9b61..5b22d5c 100644 --- a/target/debian-bullseye-21/lein/Dockerfile +++ b/target/debian-bullseye-21/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bullseye-22/lein/Dockerfile b/target/debian-bullseye-22/lein/Dockerfile index 1455d18..3a535ec 100644 --- a/target/debian-bullseye-22/lein/Dockerfile +++ b/target/debian-bullseye-22/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bullseye-8/lein/Dockerfile b/target/debian-bullseye-8/lein/Dockerfile index 10dd69c..dc942b3 100644 --- a/target/debian-bullseye-8/lein/Dockerfile +++ b/target/debian-bullseye-8/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bullseye-slim-11/lein/Dockerfile b/target/debian-bullseye-slim-11/lein/Dockerfile index f97746d..f3b14d9 100644 --- a/target/debian-bullseye-slim-11/lein/Dockerfile +++ b/target/debian-bullseye-slim-11/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bullseye-slim-17/lein/Dockerfile b/target/debian-bullseye-slim-17/lein/Dockerfile index 438bfdd..ab76292 100644 --- a/target/debian-bullseye-slim-17/lein/Dockerfile +++ b/target/debian-bullseye-slim-17/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bullseye-slim-21/lein/Dockerfile b/target/debian-bullseye-slim-21/lein/Dockerfile index c2ee7b9..ae3f1c4 100644 --- a/target/debian-bullseye-slim-21/lein/Dockerfile +++ b/target/debian-bullseye-slim-21/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bullseye-slim-22/lein/Dockerfile b/target/debian-bullseye-slim-22/lein/Dockerfile index 91d7fbf..17e2b1d 100644 --- a/target/debian-bullseye-slim-22/lein/Dockerfile +++ b/target/debian-bullseye-slim-22/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/debian-bullseye-slim-8/lein/Dockerfile b/target/debian-bullseye-slim-8/lein/Dockerfile index aae03e6..cab7121 100644 --- a/target/debian-bullseye-slim-8/lein/Dockerfile +++ b/target/debian-bullseye-slim-8/lein/Dockerfile @@ -31,6 +31,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/eclipse-temurin-11-jdk-alpine/lein/Dockerfile b/target/eclipse-temurin-11-jdk-alpine/lein/Dockerfile index 80e3da6..10e4bd3 100644 --- a/target/eclipse-temurin-11-jdk-alpine/lein/Dockerfile +++ b/target/eclipse-temurin-11-jdk-alpine/lein/Dockerfile @@ -25,6 +25,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apk del ca-certificates tar openssl gnupg diff --git a/target/eclipse-temurin-11-jdk-focal/lein/Dockerfile b/target/eclipse-temurin-11-jdk-focal/lein/Dockerfile index 02e6aa4..4b6188d 100644 --- a/target/eclipse-temurin-11-jdk-focal/lein/Dockerfile +++ b/target/eclipse-temurin-11-jdk-focal/lein/Dockerfile @@ -27,6 +27,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/eclipse-temurin-11-jdk-jammy/lein/Dockerfile b/target/eclipse-temurin-11-jdk-jammy/lein/Dockerfile index cfc9c45..82a5384 100644 --- a/target/eclipse-temurin-11-jdk-jammy/lein/Dockerfile +++ b/target/eclipse-temurin-11-jdk-jammy/lein/Dockerfile @@ -27,6 +27,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/eclipse-temurin-17-jdk-alpine/lein/Dockerfile b/target/eclipse-temurin-17-jdk-alpine/lein/Dockerfile index 2a000ac..b08674d 100644 --- a/target/eclipse-temurin-17-jdk-alpine/lein/Dockerfile +++ b/target/eclipse-temurin-17-jdk-alpine/lein/Dockerfile @@ -25,6 +25,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apk del ca-certificates tar openssl gnupg diff --git a/target/eclipse-temurin-17-jdk-focal/lein/Dockerfile b/target/eclipse-temurin-17-jdk-focal/lein/Dockerfile index 455ec53..ec674e1 100644 --- a/target/eclipse-temurin-17-jdk-focal/lein/Dockerfile +++ b/target/eclipse-temurin-17-jdk-focal/lein/Dockerfile @@ -27,6 +27,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/eclipse-temurin-17-jdk-jammy/lein/Dockerfile b/target/eclipse-temurin-17-jdk-jammy/lein/Dockerfile index 4acc600..23f9dc2 100644 --- a/target/eclipse-temurin-17-jdk-jammy/lein/Dockerfile +++ b/target/eclipse-temurin-17-jdk-jammy/lein/Dockerfile @@ -27,6 +27,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/eclipse-temurin-21-jdk-alpine/lein/Dockerfile b/target/eclipse-temurin-21-jdk-alpine/lein/Dockerfile index 1684d56..7d874f3 100644 --- a/target/eclipse-temurin-21-jdk-alpine/lein/Dockerfile +++ b/target/eclipse-temurin-21-jdk-alpine/lein/Dockerfile @@ -25,6 +25,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apk del ca-certificates tar openssl gnupg diff --git a/target/eclipse-temurin-21-jdk-jammy/lein/Dockerfile b/target/eclipse-temurin-21-jdk-jammy/lein/Dockerfile index a93443a..cab24a6 100644 --- a/target/eclipse-temurin-21-jdk-jammy/lein/Dockerfile +++ b/target/eclipse-temurin-21-jdk-jammy/lein/Dockerfile @@ -27,6 +27,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/eclipse-temurin-22-jdk-alpine/lein/Dockerfile b/target/eclipse-temurin-22-jdk-alpine/lein/Dockerfile index 0734e7a..847889b 100644 --- a/target/eclipse-temurin-22-jdk-alpine/lein/Dockerfile +++ b/target/eclipse-temurin-22-jdk-alpine/lein/Dockerfile @@ -25,6 +25,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apk del ca-certificates tar openssl gnupg diff --git a/target/eclipse-temurin-22-jdk-jammy/lein/Dockerfile b/target/eclipse-temurin-22-jdk-jammy/lein/Dockerfile index 0688482..31166c8 100644 --- a/target/eclipse-temurin-22-jdk-jammy/lein/Dockerfile +++ b/target/eclipse-temurin-22-jdk-jammy/lein/Dockerfile @@ -27,6 +27,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/eclipse-temurin-8-jdk-alpine/lein/Dockerfile b/target/eclipse-temurin-8-jdk-alpine/lein/Dockerfile index 268772c..b43ebab 100644 --- a/target/eclipse-temurin-8-jdk-alpine/lein/Dockerfile +++ b/target/eclipse-temurin-8-jdk-alpine/lein/Dockerfile @@ -25,6 +25,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apk del ca-certificates tar openssl gnupg diff --git a/target/eclipse-temurin-8-jdk-focal/lein/Dockerfile b/target/eclipse-temurin-8-jdk-focal/lein/Dockerfile index 64971c0..fbb5dd8 100644 --- a/target/eclipse-temurin-8-jdk-focal/lein/Dockerfile +++ b/target/eclipse-temurin-8-jdk-focal/lein/Dockerfile @@ -27,6 +27,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget diff --git a/target/eclipse-temurin-8-jdk-jammy/lein/Dockerfile b/target/eclipse-temurin-8-jdk-jammy/lein/Dockerfile index 214c067..54e86b7 100644 --- a/target/eclipse-temurin-8-jdk-jammy/lein/Dockerfile +++ b/target/eclipse-temurin-8-jdk-jammy/lein/Dockerfile @@ -27,6 +27,7 @@ gpg --batch --verify leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc leinin gpgconf --kill all && \ rm -rf "$GNUPGHOME" leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT.asc && \ mkdir -p /usr/share/java && \ +mkdir -p /root/.lein && \ mv leiningen-$LEIN_VERSION-standalone.$FILENAME_EXT /usr/share/java/leiningen-$LEIN_VERSION-standalone.jar && \ apt-get purge -y --auto-remove gnupg wget