From e376d15b4af6a3884210affd0289c1343d00efde Mon Sep 17 00:00:00 2001 From: Elliot Courant Date: Sun, 19 May 2024 17:43:27 -0500 Subject: [PATCH] chore: Remove old containers --- .github/workflows/build.yml | 4 -- .github/workflows/publish.yml | 4 -- .../3.40.0-ubuntu-20.04/Dockerfile | 51 ------------------- images/ubuntu/20.04/Dockerfile | 43 ---------------- 4 files changed, 102 deletions(-) delete mode 100644 images/buildkite-agent/3.40.0-ubuntu-20.04/Dockerfile delete mode 100644 images/ubuntu/20.04/Dockerfile diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a5f0f97..376157c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,10 +21,6 @@ jobs: version: 14 - path: debian version: 12.1 - - path: ubuntu - version: 20.04 - - path: buildkite-agent - version: 3.40.0-ubuntu-20.04 steps: - uses: actions/checkout@v2 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6e3b047..c6a454f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,10 +21,6 @@ jobs: version: 14 - path: debian version: 12.1 - - path: ubuntu - version: 20.04 - - path: buildkite-agent - version: 3.40.0-ubuntu-20.04 steps: - uses: actions/checkout@v2 with: diff --git a/images/buildkite-agent/3.40.0-ubuntu-20.04/Dockerfile b/images/buildkite-agent/3.40.0-ubuntu-20.04/Dockerfile deleted file mode 100644 index 963889f..0000000 --- a/images/buildkite-agent/3.40.0-ubuntu-20.04/Dockerfile +++ /dev/null @@ -1,51 +0,0 @@ -FROM buildkite/agent:3.40.0-ubuntu-20.04 -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update && apt-get install -y \ - curl \ - gnupg2 \ - lsb-release \ - software-properties-common \ - build-essential \ - wget \ - postgresql-client \ - git \ - rsync \ - make \ - rsync \ - gcc \ - g++ \ - apt-transport-https \ - ca-certificates - -# Helm CLI -RUN curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null && \ - echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list - -# Kubernetes repo -RUN curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add && \ - apt-add-repository "deb http://apt.kubernetes.io/ kubernetes-xenial main" - -# Google Cloud SDK stuff -RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && \ - curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - - -# Install node repos. -RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - - -RUN apt-get update -y && \ - apt-get install -y \ - nodejs \ - kubectl \ - helm \ - google-cloud-sdk - -# Install golang. -RUN wget -c https://golang.org/dl/go1.19.1.linux-amd64.tar.gz -RUN tar -C /usr/local -xvzf go1.19.1.linux-amd64.tar.gz - -ENV GOPATH /home/go -RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" -ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH: - -# Install yarn -RUN npm install -g yarn @sentry/cli diff --git a/images/ubuntu/20.04/Dockerfile b/images/ubuntu/20.04/Dockerfile deleted file mode 100644 index 0e90e84..0000000 --- a/images/ubuntu/20.04/Dockerfile +++ /dev/null @@ -1,43 +0,0 @@ -FROM ubuntu:20.04 -ENV DEBIAN_FRONTEND=noninteractive -RUN apt-get update && apt-get install -y \ - curl \ - gnupg2 \ - lsb-release \ - software-properties-common \ - build-essential \ - wget \ - postgresql-client \ - git \ - rsync - -# Install kubectl -RUN curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -RUN apt-add-repository "deb http://apt.kubernetes.io/ kubernetes-xenial main" -RUN apt-get install -y kubectl - -# Install node. -RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - -RUN apt-get install -y nodejs - -# Install golang. -RUN wget -c https://golang.org/dl/go1.17.1.linux-amd64.tar.gz -RUN tar -C /usr/local -xvzf go1.17.1.linux-amd64.tar.gz - -ENV GOPATH /home/go -RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" -ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH: - -# Installing terraform -RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add - -RUN apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main" -RUN apt-get update && apt-get install terraform - -# Install gcloud and gsutil -RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - && apt-get update -y && apt-get install google-cloud-sdk -y - -# Install swaggo CLI -RUN go get github.com/swaggo/swag/cmd/swag - -# Install yarn -RUN npm install -g yarn @sentry/cli