forked from mavlink/qgroundcontrol
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: build and push linux docker image to aws
- Loading branch information
1 parent
6e5ed89
commit 279c287
Showing
2 changed files
with
56 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM ubuntu:focal | ||
USER root | ||
ENV QT_VERSION=5.15.2 | ||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV DISPLAY :99 | ||
ENV QMAKESPEC linux-g++-64 | ||
ENV QT_PATH /opt/Qt | ||
ENV QT_DESKTOP $QT_PATH/${QT_VERSION}/gcc_64 | ||
ENV PATH /usr/lib/ccache:$QT_DESKTOP/bin:$PATH | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV TZ=Europe/Oslo | ||
RUN apt-get update && apt-get install -y \ | ||
curl \ | ||
libsdl2-dev \ | ||
gstreamer1.0-gl \ | ||
qt5-default \ | ||
libxcb-xinerama0 -y | ||
RUN groupadd -r qgc -g 1000 && useradd -m -u 1000 -r -g qgc qgc | ||
RUN mkdir app | ||
ARG APPIMAGE_PATH="./QGroundControl.AppImage" | ||
COPY ${APPIMAGE_PATH} /app | ||
RUN chmod 755 /app | ||
WORKDIR /app | ||
USER qgc | ||
ENV APPIMAGE_EXTRACT_AND_RUN=1 | ||
CMD ["./QGroundControl.AppImage"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters