diff --git a/images/Dockerfile b/images/Dockerfile index 826f695d063..024c237dcdf 100644 --- a/images/Dockerfile +++ b/images/Dockerfile @@ -41,7 +41,7 @@ ENV ImageOS=ubuntu22 RUN apt-get update -y \ && apt-get install -y --no-install-recommends \ - sudo curl wget build-essential git-all \ + sudo curl wget build-essential git-all pkg-config \ lsb-release \ && rm -rf /var/lib/apt/lists/* @@ -50,6 +50,10 @@ RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* +RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - +RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list +RUN apt update && apt install yarn + RUN adduser --disabled-password --gecos "" --uid 1001 runner \ && groupadd docker --gid 123 \ && usermod -aG sudo runner \