mirror of
https://github.com/QIDITECH/QIDIStudio.git
synced 2026-01-30 16:38:41 +03:00
40 lines
779 B
Plaintext
40 lines
779 B
Plaintext
|
|
FROM docker.io/ubuntu:24.04
|
||
|
|
|
||
|
|
# Disable interactive package configuration
|
||
|
|
RUN apt-get update && \
|
||
|
|
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
||
|
|
|
||
|
|
RUN apt-get update && apt-get install -y \
|
||
|
|
autoconf \
|
||
|
|
build-essential \
|
||
|
|
cmake \
|
||
|
|
curl \
|
||
|
|
xvfb \
|
||
|
|
extra-cmake-modules \
|
||
|
|
file \
|
||
|
|
git \
|
||
|
|
locales \
|
||
|
|
locales-all \
|
||
|
|
m4 \
|
||
|
|
pkgconf \
|
||
|
|
sudo \
|
||
|
|
wayland-protocols \
|
||
|
|
libwebkit2gtk-4.1-dev \
|
||
|
|
wget
|
||
|
|
|
||
|
|
COPY ./ /QIDIStudio
|
||
|
|
|
||
|
|
WORKDIR /QIDIStudio
|
||
|
|
|
||
|
|
# Allow password-less sudo for ALL users
|
||
|
|
RUN echo "ALL ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/999-passwordless
|
||
|
|
RUN chmod 440 /etc/sudoers.d/999-passwordless
|
||
|
|
|
||
|
|
RUN ./BuildLinux.sh -u
|
||
|
|
|
||
|
|
RUN ./BuildLinux.sh -dfr
|
||
|
|
|
||
|
|
RUN cp -r deps/build/destdir /
|
||
|
|
|
||
|
|
RUN rm -rf /QIDIStudio
|