-
Notifications
You must be signed in to change notification settings - Fork 51
Conversation
tests/images/Dockerfile.canary
Outdated
@@ -7,11 +7,11 @@ RUN apt-get update && apt-get install -y curl \ | |||
python-pip \ | |||
vim \ | |||
sudo | |||
|
|||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove unnecessary whitespace
tests/images/Dockerfile.canary
Outdated
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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
tests/images/Dockerfile.canary
Outdated
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 |
There was a problem hiding this comment.
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?
The canary Dockerfile was failing due to the necessary
software-properties-common
package not being installed before callingadd-apt-repository
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.