From f0ad76fff6697fc2296d6567f822f9c7baa8a427 Mon Sep 17 00:00:00 2001 From: i-ky Date: Sat, 20 May 2023 17:55:19 +0300 Subject: [PATCH] Gitpod integration (#240) Add Gitpod configuration --- .gitpod.Dockerfile | 47 ++++++++++++++++++++++++++++++++++++++++++++++ .gitpod.yml | 8 ++++++++ README.md | 1 + 3 files changed, 56 insertions(+) create mode 100644 .gitpod.Dockerfile create mode 100644 .gitpod.yml diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 00000000..2defeb74 --- /dev/null +++ b/.gitpod.Dockerfile @@ -0,0 +1,47 @@ +FROM gitpod/workspace-full-vnc + +USER gitpod + +RUN sudo apt-get -q update \ + && sudo apt-get install -yq \ + build-essential \ + libgl1-mesa-dev \ + libgstreamer-gl1.0-0 \ + libpulse-dev \ + libsecret-1-dev \ + libxcb-glx0 \ + libxcb-icccm4 \ + libxcb-image0 \ + libxcb-keysyms1 \ + libxcb-randr0 \ + libxcb-render-util0 \ + libxcb-render0 \ + libxcb-shape0 \ + libxcb-shm0 \ + libxcb-sync1 \ + libxcb-util1 \ + libxcb-xfixes0 \ + libxcb-xinerama0 \ + libxcb1 \ + libxkbcommon-dev \ + libxkbcommon-x11-0 \ + libxcb-xkb-dev \ + p7zip-full \ + && sudo rm -rf /var/lib/apt/lists/* + +RUN sudo pip3 install aqtinstall + +ARG QT_VERSION=6.4.1 +ARG QT_ARCH=gcc_64 + +ARG QT_DIR=/opt/qt +RUN sudo aqt install-qt --outputdir ${QT_DIR} linux desktop ${QT_VERSION} ${QT_ARCH} --modules \ + qtremoteobjects \ + qt5compat \ + qtshadertools +ENV QT_BIN_DIR=${QT_DIR}/${QT_VERSION}/${QT_ARCH}/bin + +ARG QIF_VERSION=4.5 +ARG QIF_DIR=/opt/qif +RUN sudo aqt install-tool --outputdir ${QIF_DIR} linux desktop tools_ifw +ENV QIF_BIN_DIR=${QIF_DIR}/Tools/QtInstallerFramework/${QIF_VERSION}/bin diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 00000000..20136846 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,8 @@ +tasks: +- init: >- + deploy/build_linux.sh +image: + file: .gitpod.Dockerfile +vscode: + extensions: + - llvm-vs-code-extensions.vscode-clangd diff --git a/README.md b/README.md index 61746d48..f1091b5f 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ ## _The best client for self-hosted VPN_ [![Build Status](https://github.com/amnezia-vpn/desktop-client/actions/workflows/deploy.yml/badge.svg?branch=dev)] +[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/amnezia-vpn/amnezia-client) Amnezia is a VPN client with the key feature of deploying your own VPN server on you virtual server.