Skip to content

Instantly share code, notes, and snippets.

@pyldin601
Created March 29, 2023 13:14
Show Gist options
  • Save pyldin601/4467795935056bd3618ca1845c7bf8c0 to your computer and use it in GitHub Desktop.
Save pyldin601/4467795935056bd3618ca1845c7bf8c0 to your computer and use it in GitHub Desktop.
dockerfile contents for compiling cef
FROM ubuntu:22.10
RUN apt-get update && apt-get install -y --no-install-recommends wget \
curl \
build-essential \
cmake \
python-pip \
libglib2.0-dev \
libnss3-dev \
libatk1.0-0 \
libatk-bridge2.0-0 \
libcups2 \
libdrm2 \
libxcomposite1 \
libxdamage1 \
libcairo2 \
libasound2 \
libxfixes3 \
libxrandr2 \
libgbm1 \
libxkbcommon0 \
libpango-1.0-0
RUN pip2 install ninja
WORKDIR /code
ADD ./ ./
RUN cmake -S. -Bbuild -GNinja && ninja -C build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment