Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(dockerfile): Upgrade to bullseye #167

Merged
merged 11 commits into from
Oct 4, 2023
Merged

Commits on Oct 3, 2023

  1. chore(dockerfile): Remove bbl repo fetch

    As far as I can tell, copying the bbl repo into
    `var/repos/bosh-bootloader` is an outdated practice from when we wanted
    to make the plan-patches and other information available to copy inside
    the docker container.
    
    Searching GitHub, I was unable to find modern examples of code that
    referenced that location, so I feel good about removing this.
    ctlong committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    fbac99e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16afd46 View commit details
    Browse the repository at this point in the history
  3. feat(dockerfile): Use 1.20.8-bullseye tag as base

    This upgrade to bullseye, which matches Ubuntu Jammy more closely than
    buster, has been a long time coming. The official Golang docker images
    finally stopped supporting buster and forced our hand if we wanted to
    get a later patch of Golang.
    
    Had to change some other things in order to get this docker file to
    build with the new base:
    - Use the new bosh CLI dependencies
      (https://bosh.io/docs/cli-v2-install/#ubuntu).
    - Upgrade to ruby 2.7.7 (what the ruby-full package installs by
      default).
    ctlong committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    4bfc302 View commit details
    Browse the repository at this point in the history
  4. chore(dockerfile): Remove unneeded package installations

    Some packages are already installed via the base image:
    - curl
    - git
    - wget
    
    Some packages I can't determine a reason to keep around:
    - apt-utils
    - software-properties-common
    ctlong committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    fa1b7c4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fa1f0ab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d27eb8f View commit details
    Browse the repository at this point in the history
  7. chore(dockerfile): Install yq from GH releases rather than using pip

    Also alphabetically sort the ENVs.
    ctlong committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    087720f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b6f1cb6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    51434ad View commit details
    Browse the repository at this point in the history
  10. ci: Trigger Dockerfile updates on new yq version

    When there's a new version of yq, we should update the Dockerfile to use
    it.
    ctlong committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    385dc3a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f53902a View commit details
    Browse the repository at this point in the history