Commit 279b8014 authored by nimrod's avatar nimrod
Browse files

Add the Heroku CLI.

parent 0f9638c4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4,6 +4,8 @@ ENV GNUPGHOME /gnupghome
# hadolint ignore=DL4006
RUN curl https://www.mongodb.org/static/pgp/server-4.4.asc | gpg --dearmor > mongodb.gpg
RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg > google-cloud.gpg
# hadolint ignore=DL4006
RUN curl https://cli-assets.heroku.com/apt/release.key | gpg --dearmor > heroku.gpg

FROM registry.hub.docker.com/library/buildpack-deps:testing
# hadolint ignore=DL3008
@@ -18,6 +20,8 @@ COPY --from=repo-key /gnupghome/mongodb.gpg /usr/share/keyrings/mongodb.gpg
COPY mongodb.sources /etc/apt/sources.list.d/
COPY --from=repo-key /gnupghome/google-cloud.gpg /usr/share/keyrings/google-cloud.gpg
COPY google-cloud.sources /etc/apt/sources.list.d/
COPY --from=repo-key /gnupghome/heroku.gpg /usr/share/keyrings/heroku.gpg
COPY heroku.sources /etc/apt/sources.list.d/
# hadolint ignore=DL3008,DL3013
RUN apt-get update && \
    DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends \
@@ -53,6 +57,7 @@ RUN apt-get update && \
        google-cloud-sdk \
        go-md2man \
        gpgv \
        heroku \
        hunspell \
        hunspell-he \
        hyphen-en-us \

heroku.sources

0 → 100644
+1 −0
Original line number Diff line number Diff line
deb [ Signed-by=/usr/share/keyrings/heroku.gpg ] https://cli-assets.heroku.com/apt ./