mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2024-11-22 08:04:04 +01:00
60 lines
1.1 KiB
Plaintext
60 lines
1.1 KiB
Plaintext
FROM opensuse/leap:15.3
|
|
|
|
ENV KASMVNC_BUILD_OS opensuse
|
|
ENV KASMVNC_BUILD_OS_CODENAME 15
|
|
ENV XORG_VER 1.20.3
|
|
|
|
# Install depends
|
|
RUN zypper install -ny \
|
|
bdftopcf \
|
|
bigreqsproto-devel \
|
|
cmake \
|
|
ffmpeg-4-libavcodec-devel \
|
|
fonttosfnt \
|
|
font-util \
|
|
gcc \
|
|
gcc-c++ \
|
|
giflib-devel \
|
|
git \
|
|
gzip \
|
|
lbzip2 \
|
|
libbz2-devel \
|
|
libGLw-devel \
|
|
libgnutls-devel \
|
|
libjpeg8-devel \
|
|
libopenssl-devel \
|
|
libpng16-devel \
|
|
libtiff-devel \
|
|
libXfont2-devel \
|
|
libxkbcommon-x11-devel \
|
|
make \
|
|
Mesa-dri \
|
|
Mesa-libglapi-devel \
|
|
mkfontdir \
|
|
mkfontscale \
|
|
patch \
|
|
tigervnc \
|
|
wget \
|
|
xcmiscproto-devel \
|
|
xorg-x11-devel \
|
|
xorg-x11-server-sdk \
|
|
xorg-x11-util-devel \
|
|
zlib-devel
|
|
|
|
# Additions for webp
|
|
RUN cd /tmp && wget https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.0.2.tar.gz
|
|
RUN cd /tmp && tar -xzf /tmp/libwebp-*
|
|
RUN cd /tmp/libwebp-1.0.2 && \
|
|
./configure --enable-static --disable-shared && \
|
|
make && make install
|
|
|
|
RUN useradd -u 1000 docker && \
|
|
groupadd -g 1000 docker && \
|
|
usermod -a -G docker docker
|
|
|
|
COPY --chown=docker:docker . /src/
|
|
|
|
|
|
USER docker
|
|
ENTRYPOINT ["/src/builder/build.sh"]
|