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:
parent
81ed8fc523
commit
45e581bcbc
|
|
@ -46,6 +46,7 @@ USER pwuser
|
||||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
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
|
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||||
|
|
||||||
WORKDIR /home/pwuser/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
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
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
|
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||||
|
|
||||||
WORKDIR /home/pwuser/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
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
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
|
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||||
|
|
||||||
WORKDIR /home/pwuser/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
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
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
|
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||||
|
|
||||||
WORKDIR /home/pwuser/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
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
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
|
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||||
|
|
||||||
WORKDIR /home/pwuser/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
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
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
|
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||||
|
|
||||||
WORKDIR /home/pwuser/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
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
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
|
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||||
|
|
||||||
WORKDIR /home/pwuser/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
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
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
|
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||||
|
|
||||||
WORKDIR /home/pwuser/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
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
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
|
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||||
|
|
||||||
WORKDIR /home/pwuser/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
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
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
|
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||||
|
|
||||||
WORKDIR /home/pwuser/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
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
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
|
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||||
|
|
||||||
WORKDIR /home/pwuser/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
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
ENV PATH="${PATH}:/home/pwuser/.cargo/bin"
|
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
|
RUN cd /home/pwuser && git clone --depth=1 https://github.com/microsoft/playwright
|
||||||
|
|
||||||
WORKDIR /home/pwuser/playwright
|
WORKDIR /home/pwuser/playwright
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue