-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
31 lines (27 loc) · 1.54 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
ARG ARCH=
FROM ${ARCH}ubuntu:jammy
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get update
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y --force-yes g++ gcc build-essential libgtk-3-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev freeglut3-dev libavcodec-dev libavformat-dev libswscale-dev libsdl2-dev libavutil-dev libportmidi-dev libzstd-dev libcurl4-openssl-dev wget git fuse gpgv colormake libltc-dev librsvg2-dev liblua5.3-dev libwebp-dev cbp2make patchelf
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get clean
# Build wxwidgets
RUN cd / && \
git clone --depth=1 --shallow-submodules --recurse-submodules -b xlights_2024.06 https://github.com/xLightsSequencer/wxWidgets xlights_2024.06 && \
cd xlights_2024.06 && \
./configure --with-cxx=17 --enable-std_containers --enable-std_string_conv_in_wxstring --enable-backtrace --enable-exceptions --enable-mediactrl --enable-graphics_ctx --enable-shared --disable-sdltest --with-gtk=3 --disable-pcx --disable-iff --without-libtiff --prefix=/usr && \
make -j 4 && \
make install PREFIX=/usr && \
cd .. && \
rm -rf xlights_2024.06
# Build log4cpp
RUN cd / && \
wget -c https://nchc.dl.sourceforge.net/project/log4cpp/log4cpp-1.1.x%20%28new%29/log4cpp-1.1/log4cpp-1.1.3.tar.gz && \
tar xfz log4cpp-1.1.3.tar.gz && \
rm log4cpp-1.1.3.tar.gz && \
cd log4cpp && \
./configure --prefix=/usr && \
make -j 4 && \
make install PREFIX=/usr && \
cd .. && \
rm -rf log4cpp
ADD Recipe.appimage /Recipe.appimage
ADD Recipe /Recipe