mirror of
https://github.com/Fishwaldo/DockerFiles.git
synced 2025-03-15 11:21:37 +00:00
update to QT 5.12.4
This commit is contained in:
parent
d30ad470dd
commit
160a7e7703
3 changed files with 6 additions and 6 deletions
|
@ -45,7 +45,7 @@ RUN chmod u+rx,g+rx,o+rx,a-w /opt/docker-entrypoint.sh && \
|
|||
# RUN
|
||||
#
|
||||
EXPOSE 2990
|
||||
USER worker
|
||||
#USER worker
|
||||
ENV MAVEN_REPOSITORY_MIRROR "false"
|
||||
ENV JAVA_HOME /opt/jdk
|
||||
ENV PATH ${PATH}:/opt/atlassian-plugin-sdk-${ATLS_VERSIN}/bin/:/opt/jdk/bin/
|
||||
|
|
|
@ -6,11 +6,11 @@ WORKDIR /opt
|
|||
RUN dnf update -y && \
|
||||
dnf groupinstall 'Development Tools' -y && \
|
||||
dnf install wget mc joe xz which gcc-c++ gperf bison flex openssl-devel mesa-libGL-devel libXrender-devel libxkbcommon-devel libXcomposite-devel libXcursor-devel libXi-devel libinput-devel freetype-devel fontconfig-devel -y && \
|
||||
wget http://download.qt.io/official_releases/qt/5.12/5.12.3/single/qt-everywhere-src-5.12.3.tar.xz && \
|
||||
tar -xJf qt-everywhere-src-5.12.3.tar.xz && \
|
||||
wget http://download.qt.io/official_releases/qt/5.12/5.12.4/single/qt-everywhere-src-5.12.4.tar.xz && \
|
||||
tar -xJf qt-everywhere-src-5.12.4.tar.xz && \
|
||||
mkdir qt-build && \
|
||||
cd qt-build && \
|
||||
../qt-everywhere-src-5.12.3/configure --prefix=/opt/Qt/5.12.3/ --opensource -confirm-license -release -static -optimize-size -syslog -no-use-gold-linker -nomake examples -nomake tests -openssl-runtime -qt-xcb -qt-zlib -qt-libjpeg -qt-libpng -system-freetype -qt-pcre -qt-harfbuzz -fontconfig && \
|
||||
../qt-everywhere-src-5.12.4/configure --prefix=/opt/Qt/5.12.4/ --opensource -confirm-license -release -static -optimize-size -syslog -no-use-gold-linker -nomake examples -nomake tests -openssl-runtime -qt-xcb -qt-zlib -qt-libjpeg -qt-libpng -system-freetype -qt-pcre -qt-harfbuzz -fontconfig && \
|
||||
cd /opt/qt-build && \
|
||||
make -j28 && \
|
||||
make install
|
||||
|
@ -24,6 +24,6 @@ RUN dnf update -y && \
|
|||
dnf install wget mc joe xz which gcc-c++ gperf bison flex openssl-devel mesa-libGL-devel libXrender-devel libxkbcommon-devel libXcomposite-devel libXcursor-devel libXi-devel libinput-devel freetype-devel fontconfig-devel -y
|
||||
WORKDIR /opt
|
||||
COPY --from=builder /opt/Qt /opt/Qt
|
||||
RUN echo "PATH=$PATH:/opt/Qt/5.12.3/bin" > /etc/profile.d/qt.sh && echo "export PATH" >> /etc/profile.d/qt.sh
|
||||
RUN echo "PATH=$PATH:/opt/Qt/5.12.4/bin" > /etc/profile.d/qt.sh && echo "export PATH" >> /etc/profile.d/qt.sh
|
||||
|
||||
|
|
@ -1 +1 @@
|
|||
docker build . -t fishwaldo/qt-staticbuilds:5.12.3
|
||||
docker build . -t fishwaldo/qt-staticbuilds:5.12.4
|
||||
|
|
Loading…
Add table
Reference in a new issue