#geodesic (2023-11)

geodesic https://github.com/cloudposse/geodesic

Discussions related to https://github.com/cloudposse/geodesic

Archive: https://archive.sweetops.com/geodesic/

2023-11-03

2023-11-04

2023-11-05

Release notes from geodesic avatar
Release notes from geodesic
12:30:37 AM

v2.7.3 Included Tools

Update AWS CLI packages @renovate (<a class=”issue-link js-issue-link” data-error-text=”Failed to load title” data-id=”1977117586” data-permission-text=”Title is private” data-url=”https://github.com/cloudposse/geodesic/issues/887“…

Release v2.7.3 · cloudposse/geodesicattachment image

Included Tools

Update AWS CLI packages @renovate (#887) This PR contains the following updates:

Package Change Age Adoption Passing Confidence

awscli (source, changelog) ==1.29.74 -> ==…

Update AWS CLI packages by renovate[bot] · Pull Request #887 · cloudposse/geodesicattachment image

This PR contains the following updates:

Package Change Age Adoption Passing Confidence

awscli (source, changelog) ==1.29.74 -> ==1.29.78

boto3 ==1.28.74 -> ==1.28.78

Release No…

2023-11-06

2023-11-08

2023-11-30

Shruti avatar

Hey everyone! I am very new to Atmos, geodesic and i am stuck at very first command of ‘make all’ and i am facing issue with M1 and M2 Macbook where as same commands works fine with Intel Anyone has solution for this?

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

what error are you seing?

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

did you create a Docker file with geodesic base and Atmos installation?

Shruti avatar
Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)
# <https://github.com/cloudposse/geodesic/>
ARG GEODESIC_VERSION=2.7.3
ARG GEODESIC_OS=debian

# <https://github.com/cloudposse/atmos>
ARG ATMOS_VERSION=1.50.0

ARG TF_1_VERSION=1.5.6

FROM cloudposse/geodesic:${GEODESIC_VERSION}-${GEODESIC_OS}
Shruti avatar

Docker failed at this point

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

show your Dockerfile

Shruti avatar
Shruti avatar

Is this the one?

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

did you create a Dockerfile?

Shruti avatar

No, i have not done anything wrto docker file

Shruti avatar

Please find my docker file

ARG VERSION=latest
ARG OS=debian
ARG CLI_NAME=kkubes
ARG TF_1_VERSION=1.4.5
ARG ATMOS_VERSION=1.50.0

FROM cloudposse/geodesic:$VERSION-$OS

# Install ubuntu universe repo so we can install more helpful packages
RUN apt-get install -y software-properties-common && \
    add-apt-repository "deb <http://archive.ubuntu.com/ubuntu> bionic universe" && \
    gpg --keyserver <hkp://keyserver.ubuntu.com:80> --recv 3B4FE6ACC0B21F32 && \
    gpg --export --armor 3B4FE6ACC0B21F32 | apt-key add - && \
    apt-get update && \
    apt-get install -y golang-petname


ARG TF_1_VERSION
# Install terraform.
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

# Install Atmos
ARG ATMOS_VERSION
RUN apt-get install -y --allow-downgrades \
    atmos="${ATMOS_VERSION}-*" \
    vendir

# Geodesic message of the Day
ENV MOTD_URL=""

ENV AWS_VAULT_BACKEND=file

ENV AWS_PROFILE=tf-user-default

ENV ATMOS_BASE_PATH=/atmos

ENV DOCKER_IMAGE="name"
ENV DOCKER_TAG="latest"

# Geodesic banner
ENV BANNER="kubes"

COPY rootfs/ /
COPY ./ /atmos

WORKDIR /
Shruti avatar

@Andriy Knysh (Cloud Posse) Please check my above file

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

from the error above, it looks like `

<http://archive.ubuntu.com/ubuntu> bionic universe

is not supported on ARM64 or something is wrong with it

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)

this is not related to geodesic or Atmos, but your Dockerfile looks ok (except for that ubuntu error)

Shruti avatar

Okay i will check this Thanks

Jeremy G (Cloud Posse) avatar
Jeremy G (Cloud Posse)

I have seen errors like this when the Docker daemon/host runs out of disk space. Check that you have at least 20 GB free.

I do not know of a good way to check this via the command line, but you can see it easily in the status bar at the bottom of the Docker Desktop Dashboard.

Jeremy G (Cloud Posse) avatar
Jeremy G (Cloud Posse)

However, in this case, it looks like the problem is that you are trying to install Ubuntu packages on Debian, which is not a good idea. If the pre-installed repos do not have the packages you are looking for, instead of using this Ubuntu repo, look for Debian package repos that have them.

Is it safe to install Ubuntu packages on Debian?

I’ve found online guides to adding Ubuntu PPAs and repositories to a Debian system. Is this a bad idea? If so, why?

Nate avatar

So, I noticed the following disclaimer on geodesic page. Is this still valid or does geodesic now work on Macs with M1/M2/M3 chips?

Nate avatar

Also - FYI. The above Dockerfile definition seems to have come from here: https://github.com/cloudposse/tutorials/blob/main/Dockerfile

ARG VERSION=latest
ARG OS=debian
ARG CLI_NAME=tutorials
ARG TF_1_VERSION=1.3.0
ARG ATMOS_VERSION=1.16.0

FROM cloudposse/geodesic:$VERSION-$OS

# Install ubuntu universe repo so we can install more helpful packages
RUN apt-get install -y software-properties-common && \
    add-apt-repository "deb <http://archive.ubuntu.com/ubuntu> bionic universe" && \
    gpg --keyserver <hkp://keyserver.ubuntu.com:80> --recv 3B4FE6ACC0B21F32 && \
    gpg --export --armor 3B4FE6ACC0B21F32 | apt-key add - && \
    apt-get update && \
    apt-get install -y golang-petname


ARG TF_1_VERSION
# Install terraform.
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

# Install Atmos
ARG ATMOS_VERSION
RUN apt-get install -y --allow-downgrades \
    atmos="${ATMOS_VERSION}-*" \
    vendir

# Geodesic message of the Day
ENV MOTD_URL=""

ENV AWS_VAULT_BACKEND=file

ENV DOCKER_IMAGE="cloudposse/tutorials"
ENV DOCKER_TAG="latest"

# Geodesic banner
ENV BANNER="Tutorials"

COPY rootfs/ /
COPY ./ /tutorials

WORKDIR /

Jeremy G (Cloud Posse) avatar
Jeremy G (Cloud Posse)

@Nate Thank you for bringing these issues to our attention.

The Apple Silicon disclaimer is outdated and will be revised. The Debian-based Geodesic (but not the Alpine-based one) has almost full support for Apple Silicon (i.e. M1/M2/M3 and future Apple chips). I say “almost full support” because there are a few old tools that are not available for the Apple chip and those are not included in the Apple version of Geodesic.

We will update the Dockerfile you pointed out to remove the package repo installation. Geodesic should come with all the package repos you will normally need, pre-installed.

Nate avatar

Thanks @Jeremy G (Cloud Posse)

Jeremy G (Cloud Posse) avatar
Jeremy G (Cloud Posse)

@Nate Those changes have been published. Please let us know if you have further feedback.

1
    keyboard_arrow_up