From 2ddee3f6881d8ca17d34b1a644dc8430f08023e0 Mon Sep 17 00:00:00 2001 From: Dylan-AWS <55998753+Dylan-AWS@users.noreply.github.com> Date: Fri, 12 Jan 2024 17:00:17 -0800 Subject: [PATCH] Add PackCLI (#693) --- al2/x86_64/standard/4.0/Dockerfile | 6 ++++++ al2/x86_64/standard/4.0/legal/bill_of_material.txt | 2 ++ al2/x86_64/standard/5.0/Dockerfile | 6 ++++++ al2/x86_64/standard/5.0/legal/bill_of_material.txt | 2 ++ ubuntu/standard/7.0/Dockerfile | 6 ++++++ ubuntu/standard/7.0/legal/bill_of_material.txt | 2 ++ 6 files changed, 24 insertions(+) diff --git a/al2/x86_64/standard/4.0/Dockerfile b/al2/x86_64/standard/4.0/Dockerfile index 77f43a74..db24aec4 100644 --- a/al2/x86_64/standard/4.0/Dockerfile +++ b/al2/x86_64/standard/4.0/Dockerfile @@ -130,6 +130,12 @@ ENV GOPATH="/go" FROM tools AS runtimes_1 +#**************** Pack CLI ************************************************* +RUN (curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.32.1/pack-v0.32.1-linux.tgz" \ + | tar -C /usr/local/bin/ --no-same-owner -xzv pack) + +#**************** END Pack CLI ********************************************* + #**************** JAVA **************************************************** ENV JAVA_17_HOME="/usr/lib/jvm/java-17-amazon-corretto.x86_64" \ diff --git a/al2/x86_64/standard/4.0/legal/bill_of_material.txt b/al2/x86_64/standard/4.0/legal/bill_of_material.txt index 3a60efeb..fc592e13 100644 --- a/al2/x86_64/standard/4.0/legal/bill_of_material.txt +++ b/al2/x86_64/standard/4.0/legal/bill_of_material.txt @@ -47,6 +47,8 @@ icu : MIT and UCD and Public Domain ---------------- iptables : GPLv2 ---------------- +pack: https://github.com/buildpacks/pack/blob/main/LICENSE +---------------- java-1.8.0-amazon-corretto-devel : ASL 1.1 and ASL 2.0 and BSD and BSD with advertising and GPL+ and GPLv2 and GPLv2 with exceptions and IJG and LGPLv2+ and MIT and MPLv2.0 and Public Domain and W3C and zlib. ---------------- java-1.11.0-amazon-corretto-devel : ASL 1.1 and ASL 2.0 and BSD and BSD with advertising and GPL+ and GPLv2 and GPLv2 with exceptions and IJG and LGPLv2+ and MIT and MPLv2.0 and Public Domain and W3C and zlib. diff --git a/al2/x86_64/standard/5.0/Dockerfile b/al2/x86_64/standard/5.0/Dockerfile index b4a922de..9dfaa0c7 100644 --- a/al2/x86_64/standard/5.0/Dockerfile +++ b/al2/x86_64/standard/5.0/Dockerfile @@ -130,6 +130,12 @@ ENV GOPATH="/go" FROM tools AS runtimes_1 +#**************** Pack CLI ************************************************* +RUN (curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.32.1/pack-v0.32.1-linux.tgz" \ + | tar -C /usr/local/bin/ --no-same-owner -xzv pack) + +#**************** END Pack CLI ********************************************* + #**************** JAVA **************************************************** ENV JAVA_17_HOME="/usr/lib/jvm/java-17-amazon-corretto.x86_64" \ diff --git a/al2/x86_64/standard/5.0/legal/bill_of_material.txt b/al2/x86_64/standard/5.0/legal/bill_of_material.txt index ebcf077a..c9168fd9 100644 --- a/al2/x86_64/standard/5.0/legal/bill_of_material.txt +++ b/al2/x86_64/standard/5.0/legal/bill_of_material.txt @@ -49,6 +49,8 @@ icu : MIT and UCD and Public Domain ---------------- iptables : GPLv2 ---------------- +pack: https://github.com/buildpacks/pack/blob/main/LICENSE +---------------- java-1.8.0-amazon-corretto-devel : ASL 1.1 and ASL 2.0 and BSD and BSD with advertising and GPL+ and GPLv2 and GPLv2 with exceptions and IJG and LGPLv2+ and MIT and MPLv2.0 and Public Domain and W3C and zlib. ---------------- java-1.11.0-amazon-corretto-devel : ASL 1.1 and ASL 2.0 and BSD and BSD with advertising and GPL+ and GPLv2 and GPLv2 with exceptions and IJG and LGPLv2+ and MIT and MPLv2.0 and Public Domain and W3C and zlib. diff --git a/ubuntu/standard/7.0/Dockerfile b/ubuntu/standard/7.0/Dockerfile index a7e5d09a..50f00b74 100644 --- a/ubuntu/standard/7.0/Dockerfile +++ b/ubuntu/standard/7.0/Dockerfile @@ -282,6 +282,12 @@ RUN goenv install $GOLANG_20_VERSION && rm -rf /tmp/* && \ FROM runtimes AS runtimes_n_corretto +#**************** Pack CLI ************************************************* +RUN (curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.32.1/pack-v0.32.1-linux.tgz" \ + | tar -C /usr/local/bin/ --no-same-owner -xzv pack) + +#**************** END Pack CLI ********************************************* + #**************** JAVA **************************************************** ENV JAVA_17_HOME="/usr/lib/jvm/java-17-amazon-corretto" \ JDK_17_HOME="/usr/lib/jvm/java-17-amazon-corretto" \ diff --git a/ubuntu/standard/7.0/legal/bill_of_material.txt b/ubuntu/standard/7.0/legal/bill_of_material.txt index 21b86ce9..48e908cb 100644 --- a/ubuntu/standard/7.0/legal/bill_of_material.txt +++ b/ubuntu/standard/7.0/legal/bill_of_material.txt @@ -17,6 +17,8 @@ bzip2 : /usr/share/doc/bzip2/copyright ---------------- bzr : /usr/share/doc/bzr/copyright ---------------- +pack: https://github.com/buildpacks/pack/blob/main/LICENSE +---------------- ca-certificates-java : /usr/share/doc/ca-certificates-java/copyright ---------------- curl : /usr/share/doc/curl/copyright