devops: fix firefox builds (#16530)
Turns out Firefox mach does not respect `DEBIAN_FRONTEND=noninteractive` command and insists on interactive input for the mozbuild folder creation. Pre-creation of the folder avoid this codepath.
This commit is contained in:
Родитель
81ed8fc523
Коммит
45e581bcbc
|
@ -46,6 +46,7 @@ USER pwuser
|
|||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
||||
|
||||
RUN mkdir -p /home/pwuser/.mozbuild
|
||||
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||
|
||||
WORKDIR /home/pwuser/playwright
|
||||
|
|
|
@ -52,6 +52,7 @@ USER pwuser
|
|||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
||||
|
||||
RUN mkdir -p /home/pwuser/.mozbuild
|
||||
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||
|
||||
WORKDIR /home/pwuser/playwright
|
||||
|
|
|
@ -54,6 +54,7 @@ USER pwuser
|
|||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
||||
|
||||
RUN mkdir -p /home/pwuser/.mozbuild
|
||||
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||
|
||||
WORKDIR /home/pwuser/playwright
|
||||
|
|
|
@ -46,6 +46,7 @@ USER pwuser
|
|||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
||||
|
||||
RUN mkdir -p /home/pwuser/.mozbuild
|
||||
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||
|
||||
WORKDIR /home/pwuser/playwright
|
||||
|
|
|
@ -54,6 +54,7 @@ USER pwuser
|
|||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
||||
|
||||
RUN mkdir -p /home/pwuser/.mozbuild
|
||||
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||
|
||||
WORKDIR /home/pwuser/playwright
|
||||
|
|
|
@ -46,6 +46,7 @@ USER pwuser
|
|||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
||||
|
||||
RUN mkdir -p /home/pwuser/.mozbuild
|
||||
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||
|
||||
WORKDIR /home/pwuser/playwright
|
||||
|
|
|
@ -46,6 +46,7 @@ USER pwuser
|
|||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
||||
|
||||
RUN mkdir -p /home/pwuser/.mozbuild
|
||||
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||
|
||||
WORKDIR /home/pwuser/playwright
|
||||
|
|
|
@ -52,6 +52,7 @@ USER pwuser
|
|||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
||||
|
||||
RUN mkdir -p /home/pwuser/.mozbuild
|
||||
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||
|
||||
WORKDIR /home/pwuser/playwright
|
||||
|
|
|
@ -54,6 +54,7 @@ USER pwuser
|
|||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
||||
|
||||
RUN mkdir -p /home/pwuser/.mozbuild
|
||||
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||
|
||||
WORKDIR /home/pwuser/playwright
|
||||
|
|
|
@ -46,6 +46,7 @@ USER pwuser
|
|||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
||||
|
||||
RUN mkdir -p /home/pwuser/.mozbuild
|
||||
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||
|
||||
WORKDIR /home/pwuser/playwright
|
||||
|
|
|
@ -54,6 +54,7 @@ USER pwuser
|
|||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
||||
|
||||
RUN mkdir -p /home/pwuser/.mozbuild
|
||||
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||
|
||||
WORKDIR /home/pwuser/playwright
|
||||
|
|
|
@ -46,6 +46,7 @@ USER pwuser
|
|||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
||||
|
||||
RUN mkdir -p /home/pwuser/.mozbuild
|
||||
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||
|
||||
WORKDIR /home/pwuser/playwright
|
||||
|
|
Загрузка…
Ссылка в новой задаче