Skip to content

Commit ef6f54b

Browse files
authored
Merge pull request #60 from LibrePCB/add-linuxdeploy
Ubuntu 20.04/Qt6: Install linuxdeploy with qt plugin
2 parents a50cfe3 + 8b81cb9 commit ef6f54b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

ubuntu-20.04-qt6.6/Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,19 @@ RUN /appimagetool-x86_64.AppImage --appimage-extract \
209209
&& ln -s /opt/appimagetool/AppRun /usr/local/bin/appimagetool \
210210
&& rm /appimagetool-x86_64.AppImage
211211

212+
# Install linuxdeploy
213+
ARG LINUXDEPLOY_URL="https://github.com/linuxdeploy/linuxdeploy/releases/download/1-alpha-20250213-2/linuxdeploy-x86_64.AppImage"
214+
ARG LINUXDEPLOY_PLUGIN_APPIMAGE_URL="https://github.com/linuxdeploy/linuxdeploy-plugin-appimage/releases/download/1-alpha-20250213-1/linuxdeploy-plugin-appimage-x86_64.AppImage"
215+
ARG LINUXDEPLOY_PLUGIN_QT_URL="https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/1-alpha-20250213-1/linuxdeploy-plugin-qt-x86_64.AppImage"
216+
ENV APPIMAGE_EXTRACT_AND_RUN=1
217+
RUN wget -c "$LINUXDEPLOY_URL" -O /usr/local/bin/linuxdeploy-x86_64.AppImage \
218+
&& chmod a+x /usr/local/bin/linuxdeploy-x86_64.AppImage \
219+
&& wget -c "$LINUXDEPLOY_PLUGIN_APPIMAGE_URL" -O /usr/local/bin/linuxdeploy-plugin-appimage-x86_64.AppImage \
220+
&& chmod a+x /usr/local/bin/linuxdeploy-plugin-appimage-x86_64.AppImage \
221+
&& wget -c "$LINUXDEPLOY_PLUGIN_QT_URL" -O /usr/local/bin/linuxdeploy-plugin-qt-x86_64.AppImage \
222+
&& chmod a+x /usr/local/bin/linuxdeploy-plugin-qt-x86_64.AppImage \
223+
&& linuxdeploy-x86_64.AppImage --list-plugins
224+
212225
# Install latest OpenSSL to avoid possible issues if servers some day stop
213226
# working with an old OpenSSL library (as already happened in the past).
214227
ARG OPENSSL_VERSION="3.4.1"

0 commit comments

Comments
 (0)