File tree Expand file tree Collapse file tree 2 files changed +32
-5
lines changed
Expand file tree Collapse file tree 2 files changed +32
-5
lines changed Original file line number Diff line number Diff line change 1+ sudo apt-get update
2+
3+ sudo apt-get install \
4+ ca-certificates \
5+ curl \
6+ gnupg \
7+ lsb-release
8+
9+ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
10+
11+ echo \
12+ " deb [arch=$( dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
13+ $( lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
14+
15+ sudo apt-get update
16+
17+ sudo apt-get install docker-ce docker-ce-cli containerd.io
18+
19+
20+ sudo curl -L " https://github.com/docker/compose/releases/download/v1.29.2/docker-compose-$( uname -s) -$( uname -m) " -o /usr/local/bin/docker-compose
21+
22+ sudo chmod +x /usr/local/bin/docker-compose
23+
24+ sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
33up () {
4- echo " Start: dbt"
5- echo " End: dbt"
6- }
7-
8- down () {
94 echo " Start: dbt"
105 pip3 install dbt-postgres
116 mkdir ~ /modelt_dbt
@@ -18,6 +13,14 @@ down() {
1813 echo " End: dbt"
1914}
2015
16+ down () {
17+ echo " Start: dbt"
18+ pip3 uninstall dbt-postgres
19+ pip3 uninstall dbt-core
20+ rm -r ~ /modelt_dbt
21+ echo " End: dbt"
22+ }
23+
2124case $1 in up)
2225 up
2326 ;;
You can’t perform that action at this time.
0 commit comments