You've already forked linuxdeploy-plugin-qt
mirror of
https://github.com/encounter/linuxdeploy-plugin-qt.git
synced 2026-03-30 11:19:03 -07:00
24 lines
827 B
Docker
24 lines
827 B
Docker
FROM centos:7
|
|
|
|
RUN yum install -y centos-release-scl && \
|
|
yum install -y devtoolset-8 wget curl patchelf vim-common fuse libfuse2 libtool autoconf automake zlib-devel libjpeg-devel libpng-devel nano git file gcc-c++ && \
|
|
wget https://artifacts.assassinate-you.net/prebuilt-cmake/cmake-v3.19.1-centos7-x86_64.tar.gz -O- | tar xz --strip-components=1 -C/usr/local
|
|
|
|
ENV ARCH=x86_64
|
|
COPY entrypoint.sh /
|
|
SHELL ["/entrypoint.sh", "bash", "-x", "-c"]
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
RUN git clone https://github.com/NixOS/patchelf.git && \
|
|
pushd patchelf && \
|
|
# cannot use -b since it's not supported in really old versions of git
|
|
git checkout 0.8 && \
|
|
./bootstrap.sh && \
|
|
./configure --prefix=/usr/local && \
|
|
make -j $(nproc) && \
|
|
make install && \
|
|
popd && \
|
|
rm -r patchelf/
|
|
|
|
CMD ["bash"]
|