-
Notifications
You must be signed in to change notification settings - Fork 150
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(remove-android): Docker file cleanup #6759
Conversation
RUN apt-get update && \ | ||
apt-get install -y curl apt-transport-https && \ |
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.
This undoes the Dockerfile changes from #5720, then standardizes the formatting
@@ -14,17 +14,12 @@ USER root | |||
# | |||
# We pin nodejs 16.x instead of accepting Playwright's default for consistency with | |||
# our other build environments. | |||
# | |||
# dotnet-sdk-6.0 is required to build mock-adb | |||
RUN apt-get update && \ |
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.
On modern Debian-based systems:
RUN apt-get update && \ | |
RUN apt update && \ |
curl -fsSL https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -o packages-microsoft-prod.deb && \ | ||
dpkg -i packages-microsoft-prod.deb && \ | ||
rm packages-microsoft-prod.deb && \ | ||
apt-get install ca-certificates && \ |
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.
apt-get install ca-certificates && \ | |
apt install ca-certificates && \ |
curl -fsSL https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -o packages-microsoft-prod.deb && \ | ||
dpkg -i packages-microsoft-prod.deb && \ | ||
rm packages-microsoft-prod.deb && \ | ||
apt-get install ca-certificates && \ | ||
apt-get update && \ |
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.
apt-get update && \ | |
apt update && \ |
apt-get update && \ | ||
apt-get install -y curl && \ |
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.
apt-get install -y curl && \ | |
apt install -y curl && \ |
apt-get update && \ | ||
apt-get install -y curl && \ | ||
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \ | ||
apt-get install -y --allow-downgrades nodejs=16.* && \ |
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.
apt-get install -y --allow-downgrades nodejs=16.* && \ | |
apt install -y --allow-downgrades nodejs=16.* && \ |
@codeofdusk, I tried replacing |
Details
Simplify our
Dockerfile
as follows:Motivation
Part of Android removal feature
Context
Pull request checklist
yarn fastpass
yarn test
)<rootDir>/test-results/unit/coverage
fix:
,chore:
,feat(feature-name):
,refactor:
). SeeCONTRIBUTING.md
.