Sean
08/28/2024, 3:05 PMmake all for geodesic 2.5.0 or 3.2.0 the upstream repository dl.clousmith.io fails & seems like it could be a misconfig/bug
STEP 14/28: RUN apt-get update && apt-get install -y -u --allow-downgrades terraform-1="${TF_1_VERSION}-*" && update-alternatives --set terraform /usr/share/terraform/1/bin/terraform
Hit:1 <http://deb.debian.org/debian> bookworm InRelease
Get:2 <http://deb.debian.org/debian> bookworm-updates InRelease [55.4 kB]
Get:3 <http://deb.debian.org/debian-security> bookworm-security InRelease [48.0 kB]
Ign:4 <https://dl.cloudsmith.io/public/cloudposse/packages/deb/debian> bookworm InRelease
Get:5 <http://deb.debian.org/debian-security> bookworm-security/main arm64 Packages [176 kB]
Get:6 <https://packages.cloud.google.com/apt> cloud-sdk InRelease [1618 B]
Get:8 <https://packages.cloud.google.com/apt> cloud-sdk/main arm64 Packages [1011 kB]
Hit:7 <https://packages.opentofu.org/opentofu/tofu/any> any InRelease
Get:9 <https://packages.cloud.google.com/apt> cloud-sdk/main all Packages [1511 kB]
Ign:4 <https://dl.cloudsmith.io/public/cloudposse/packages/deb/debian> bookworm InRelease
Ign:4 <https://dl.cloudsmith.io/public/cloudposse/packages/deb/debian> bookworm InRelease
Err:4 <https://dl.cloudsmith.io/public/cloudposse/packages/deb/debian> bookworm InRelease
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 146.112.250.226 443]
Fetched 2803 kB in 7s (388 kB/s)
Reading package lists...
W: Failed to fetch <https://dl.cloudsmith.io/public/cloudposse/packages/deb/debian/dists/bookworm/InRelease> Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 146.112.250.226 443]Gabriela Campana (Cloud Posse)
08/28/2024, 5:41 PMJeremy G (Cloud Posse)
08/28/2024, 7:45 PMdocker system prune first to free up some space.Sean
08/29/2024, 1:54 PMSean
08/29/2024, 10:29 PMuname -m it returns aarch64 instead of arm64 that is one of the explicit checks
Running as a build layer I got:
STEP 13/30: COPY bash.deb.sh /tmp/bash.deb.sh
--> 6a532fde94d3
STEP 14/30: RUN chmod +x /tmp/bash.deb.sh && /tmp/bash.deb.sh
Executing the setup script for the 'cloudposse/packages' repository ...
OK: Checking for required executable 'curl' ...
OK: Checking for required executable 'apt-get' ...
OK: Detecting your OS distribution and release using system methods ...
^^^^: ... Detected/provided for your OS/distribution, version and architecture:
>>>>:
>>>>: ... distro=debian version=12 codename=bookworm arch=aarch64
>>>>:
OK: Checking for apt dependency 'apt-transport-https' ...
OK: Checking for apt dependency 'ca-certificates' ...
OK: Checking for apt dependency 'gnupg' ...
RUN: Importing 'cloudposse/packages' repository GPG keys ...gpg: no valid OpenPGP data found.
OK: Checking for apt signed-by key support ...
OK: Importing 'cloudposse/packages' repository GPG keys ...
NOPE: Checking if upstream install config is OK ...
^^^^: ... Failed to fetch configuration for your OS distribution release/version.
>>>>:
>>>>: It looks like it might be because the configuration endpoint is not
>>>>: currently available. Please try again in 10-15 minutes. If it still
>>>>: doesn't work after an hour, please contact cloudposse
>>>>: for assistance.
>>>>:
The virtual machine has 100GB free and is pruned (host is ~350GB free) , 5 cpu , & 8GB ram
I have tested with Docker-Desktop & Podman-Desktop (rootless & root). Verified a handful of silly reasons for the docker exit code 100 like LF vs CRLF , can't find anything off other than the uname -m value consumed by the script that builds the imageJeremy G (Cloud Posse)
08/30/2024, 7:50 AMaarch64 is the correct architecture designator for Debian on ARM64):
⨠ curl -1sLf '<https://dl.cloudsmith.io/public/cloudposse/packages/cfg/setup/bash.deb.sh>' | bash
Executing the setup script for the 'cloudposse/packages' repository ...
OK: Checking for required executable 'curl' ...
OK: Checking for required executable 'apt-get' ...
OK: Detecting your OS distribution and release using system methods ...
^^^^: ... Detected/provided for your OS/distribution, version and architecture:
>>>>:
>>>>: ... distro=debian version=12 codename=bookworm arch=aarch64
>>>>:
OK: Checking for apt dependency 'apt-transport-https' ...
OK: Checking for apt dependency 'ca-certificates' ...
OK: Checking for apt dependency 'gnupg' ...
OK: Checking for apt signed-by key support ...
OK: Importing 'cloudposse/packages' repository GPG keys ...
OK: Checking if upstream install config is OK ...
OK: Installing 'cloudposse/packages' repository via apt ...
OK: Updating apt repository metadata cache ...
OK: The repository has been installed successfully - You're ready to rock!