Skip to content

Commit ecaddab

Browse files
authored
Add development.sh
1 parent 87be47b commit ecaddab

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

fedora-gnome/development.sh

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#!/bin/sh
2+
3+
# Copyright (C) 2022-2025 Thien Tran
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
# use this file except in compliance with the License. You may obtain a copy of
7+
# the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
# License for the specific language governing permissions and limitations under
15+
# the License.
16+
17+
# Base this on the microsoft-edge TemplateVM
18+
19+
set -eu -o pipefail
20+
21+
unpriv(){
22+
sudo -u nobody "${@}"
23+
}
24+
25+
download() {
26+
unpriv curl -s --proxy http://127.0.0.1:8082 "${1}" | sudo tee "${2}" > /dev/null
27+
}
28+
29+
echo '[code]
30+
name=Visual Studio Code
31+
baseurl=https://packages.microsoft.com/yumrepos/vscode/
32+
enabled=1
33+
gpgcheck=1
34+
gpgkey=https://packages.microsoft.com/keys/microsoft.asc' | sudo tee /etc/yum.repos.d/vscode.repo
35+
36+
echo '[shiftkey-packages]
37+
name=GitHub Desktop
38+
baseurl=https://rpm.packages.shiftkey.dev/rpm/
39+
enabled=1
40+
gpgcheck=1
41+
repo_gpgcheck=1
42+
gpgkey=https://rpm.packages.shiftkey.dev/gpg.key' | sudo tee /etc/yum.repos.d/shiftkey-packages.repo
43+
44+
sudo dnf config-manager addrepo --from-repofile=https://download.docker.com/linux/fedora/docker-ce.repo
45+
46+
sudo dnf install -y code docker-ce docker-compose-plugin github-desktop
47+
48+
# Change the GPG Domain name appropriately
49+
echo 'QUBES_GPG_DOMAIN=vault' | sudo tee -a /etc/environment

0 commit comments

Comments
 (0)