File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+ // README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
3+ {
4+ "name" : " Ubuntu" ,
5+ // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+ "image" : " mcr.microsoft.com/devcontainers/base:jammy" ,
7+
8+ // Features to add to the dev container. More info: https://containers.dev/features.
9+ // "features": {},
10+
11+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
12+ // "forwardPorts": [],
13+
14+ // Use 'postCreateCommand' to run commands after the container is created.
15+ "postCreateCommand" : " /bin/bash .devcontainer/setup.sh"
16+
17+ // Configure tool-specific properties.
18+ // "customizations": {},
19+
20+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
21+ // "remoteUser": "root"
22+ }
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ sudo apt-get -y update
4+
5+ # Enable tab autocomplete in terminal
6+ sudo apt install bash-completion
7+
8+ # Install tools required to build
9+ sudo apt-get install -y \
10+ gyp \
11+ libegl1-mesa-dev \
12+ libglib2.0-dev \
13+ libgstreamer1.0-dev \
14+ libgstreamer-plugins-base1.0-dev \
15+ libhyphen-dev \
16+ libicu-dev \
17+ libjpeg-dev \
18+ libpng-dev \
19+ libxslt1-dev \
20+
21+ # Alias python3 to python so the build script can find it
22+ sudo ln -s /usr/bin/python3 /usr/bin/python
23+
24+ # Download our prebuilt version of Qt
25+ curl -L https://github.com/constructpm/qt-build/releases/download/v5.15.8-lts-lgpl-1/qt-5.15.8-lts-lgpl-cpp17-ubuntu-22.04-x64.tar.gz | sudo tar -xJC /opt
26+ curl -L https://github.com/constructpm/qtwebkit-build/releases/download/v5.212.0-1/qtwebkit-d1c854e-cpp17-ubuntu-22.04-x64.tar.gz | sudo tar xvJ -C /opt
You can’t perform that action at this time.
0 commit comments