Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Fix broken canary container Dockerfile #80

Merged
merged 4 commits into from
Jan 21, 2020
Merged

Conversation

RedbackThomson
Copy link
Contributor

The canary Dockerfile was failing due to the necessary software-properties-common package not being installed before calling add-apt-repository.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@@ -7,11 +7,11 @@ RUN apt-get update && apt-get install -y curl \
python-pip \
vim \
sudo

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: remove unnecessary whitespace

RUN pip install awscli

# Install yq
RUN sudo add-apt-repository ppa:rmescandon/yq && apt update && apt install -y yq
RUN apt-get update && apt install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common && sudo add-apt-repository ppa:rmescandon/yq && apt update && apt install -y yq
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this necessary? Can you update comment?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In body of pull request - you need software-properties-common to use the add-apt-repository command.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah sorry I missed. Weird that it is failing now.

Can you still update yq comment?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ignore I saw outdated change

RUN pip install awscli

# Install yq
RUN sudo add-apt-repository ppa:rmescandon/yq && apt update && apt install -y yq
RUN apt-get update && apt install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common && sudo add-apt-repository ppa:rmescandon/yq && apt update && apt install -y yq
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah sorry I missed. Weird that it is failing now.

Can you still update yq comment?

@RedbackThomson RedbackThomson changed the title Fix broken container Dockerfile Fix broken canary container Dockerfile Jan 21, 2020
@RedbackThomson RedbackThomson merged commit 240a08e into master Jan 21, 2020
@RedbackThomson RedbackThomson deleted the fix_canary_container branch January 21, 2020 21:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants