A bunch of things.
- Don't use the builddeps image since it no longer tracks Debian testing. Use the same image in all stages of the build (save some space). - Install gnupg and curl in the stage that fetches the repos keys. - Merge the APT installs in the final build stage. There's no need to install anything before running apt-get update (once the files are in place). - A little nicer handling of GPG keyrings (stole from the Datadog agent installation instructions).
Please register or sign in to comment