Skip to content

Commit

Permalink
Add pkg-config yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
nambrot committed Nov 24, 2023
1 parent 55bb584 commit 525bc1f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion images/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand All @@ -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 \
Expand Down

0 comments on commit 525bc1f

Please sign in to comment.