Skip to content

Instantly share code, notes, and snippets.

@skyler
Created December 9, 2024 19:47
Show Gist options
  • Save skyler/d1f991fa94542dd5a6eb9943b0a88e55 to your computer and use it in GitHub Desktop.
Save skyler/d1f991fa94542dd5a6eb9943b0a88e55 to your computer and use it in GitHub Desktop.
cutest
FROM mcr.microsoft.com/devcontainers/base:ubuntu
# Add the Cloud Foundry GPG key
RUN curl -fsSL https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | gpg --dearmor -o /usr/share/keyrings/cloudfoundry-keyring.gpg
# Add the Cloud Foundry repository
RUN echo "deb [signed-by=/usr/share/keyrings/cloudfoundry-keyring.gpg] https://packages.cloudfoundry.org/debian stable main" | tee /etc/apt/sources.list.d/cloudfoundry.list
# Add the GitHub GPG key
RUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | tee /etc/apt/keyrings/githubcli-archive-keyring.gpg
# Add the GitHub repository
#RUN echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list
RUN echo "deb [signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list
RUN apt-get update \
&& apt-get install -y vim-tiny \
&& apt-get install -y jq \
&& apt-get install -y postgresql-client \
&& apt-get install -y cf8-cli \
&& apt-get install -y gh \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment