From 162a0bd995e919c2f1b74119978fa6bec6f62f5f Mon Sep 17 00:00:00 2001 From: Dym Sohin Date: Fri, 2 Feb 2024 19:19:17 +0100 Subject: [PATCH] +penpot --- _installs/docker.sh | 22 +++++++++++++++------- _installs/nix.sh | 8 ++++++++ _installs/noco.sh | 3 +++ _installs/penpot.sh | 11 +++++++++++ 4 files changed, 37 insertions(+), 7 deletions(-) create mode 100755 _installs/nix.sh create mode 100755 _installs/noco.sh create mode 100755 _installs/penpot.sh diff --git a/_installs/docker.sh b/_installs/docker.sh index 4028056..7595a24 100755 --- a/_installs/docker.sh +++ b/_installs/docker.sh @@ -16,6 +16,16 @@ sudo apt-get install -y \ gnupg \ lsb-release +# "security" +sudo apt-key adv --keyserver keyserver.ubuntu.com \ + --recv-keys 7FCC7D46ACCC4CF8 +sudo apt-key adv --keyserver keyserver.ubuntu.com \ + --recv-keys 7EA0A9C3F273FCD8 +sudo apt-key adv --keyserver keyserver.ubuntu.com \ + --recv-keys 40976EAF437D05B5 +sudo apt-key adv --keyserver keyserver.ubuntu.com \ + --recv-keys 3B4FE6ACC0B21F32 + # docker.com key file curl -fsSL 'https://download.docker.com/linux/ubuntu/gpg' \ @@ -43,15 +53,15 @@ $DISTRO stable \ # update sources -sudo apt update -y +sudo apt-get update -y # check avaliable versions -apt-cache \ - madison docker-ce +sudo apt-cache \ + madison docker # install docker -sudo apt install -y \ - docker-ce docker-ce-cli containerd.io docker-compose +sudo apt-get install -y \ + docker docker-compose # manage rootless @@ -67,8 +77,6 @@ sudo apt install ./docker-desktop.deb systemctl --user start docker-desktop - - # image of OSX # 40GB disk space required: 20GB original image 20GB your container. docker pull sickcodes/docker-osx:auto diff --git a/_installs/nix.sh b/_installs/nix.sh new file mode 100755 index 0000000..5c14855 --- /dev/null +++ b/_installs/nix.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env zsh + +sudo mkdir /nix +sudo chown $USER:$USER /nix +sudo chmod g+s /nix + +sh <(curl -L https://nixos.org/nix/install) --no-daemon + diff --git a/_installs/noco.sh b/_installs/noco.sh new file mode 100755 index 0000000..915beb0 --- /dev/null +++ b/_installs/noco.sh @@ -0,0 +1,3 @@ +curl http://get.nocodb.com/linux-x64 -o nocodb -L +chmod +x nocodb +./nocodb diff --git a/_installs/penpot.sh b/_installs/penpot.sh new file mode 100755 index 0000000..c347c0f --- /dev/null +++ b/_installs/penpot.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +mkdir -p /Forks/penpot/ +cd /Forks/penpot/ + +wget https://raw.githubusercontent.com/penpot/penpot/main/docker/images/docker-compose.yaml + +docker-compose \ + -p penpot \ + -f docker-compose.yaml \ + up -d