automated terminal push

This commit is contained in:
2025-06-07 17:07:34 -04:00
parent 36d3963240
commit 6acc170a01
6 changed files with 86 additions and 0 deletions

15
.dockerignore Normal file
View File

@@ -0,0 +1,15 @@
*.md
*.log
LICENSE
.dockerignore
.git*
.recycle
.trash

0
.gitignore vendored Normal file
View File

19
compose.bash Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
##
reset
clear
##
set -e
set -x
##
docker compose down --remove-orphans
docker compose up -d

13
compose.yaml Normal file
View File

@@ -0,0 +1,13 @@
services:
docker-provision-verification:
container_name: docker-provision-verification
image: sofwareshinobi/docker-provision-verification
restart: unless-stopped
ports:
- "80:80"

BIN
cover.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

39
provision.bash Executable file
View File

@@ -0,0 +1,39 @@
#!/bin/bash
set -x
set -e
reset
clear
##
echo
echo "## "
echo "## routine / provision-ubuntu-basic / starting"
echo "## "
echo
apt-get update;
apt -y install ca-certificates curl;
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt update
apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
docker run hello-world
echo "finished provision..."