🗃️ Updated workflows and moved rootfs 🗃️

Dockerfile
Dockerfile.18.04
Dockerfile.20.04
Dockerfile.22.04
Dockerfile.24.04
Dockerfile.24.10
dockerfs/
.gitea/workflows/docker.18.04.yaml
.gitea/workflows/docker.20.04.yaml
.gitea/workflows/docker.22.04.yaml
.gitea/workflows/docker.24.04.yaml
.gitea/workflows/docker.24.10.yaml
.gitea/workflows/docker.yaml
.github/
README.md
rootfs/root/docker/setup/00-init.sh
rootfs/root/docker/setup/01-system.sh
rootfs/root/docker/setup/02-packages.sh
rootfs/root/docker/setup/03-files.sh
rootfs/root/docker/setup/04-users.sh
rootfs/root/docker/setup/05-custom.sh
rootfs/root/docker/setup/06-post.sh
rootfs/root/docker/setup/07-cleanup.sh
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/bin/pkmgr
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/share/template-files/config/env/default.sample
rootfs/usr/local/share/template-files/config/env/examples/00-directory.sh
rootfs/usr/local/share/template-files/config/env/examples/addresses.sh
rootfs/usr/local/share/template-files/config/env/examples/certbot.sh
rootfs/usr/local/share/template-files/config/env/examples/couchdb.sh
rootfs/usr/local/share/template-files/config/env/examples/dockerd.sh
rootfs/usr/local/share/template-files/config/env/examples/global.sh
rootfs/usr/local/share/template-files/config/env/examples/healthcheck.sh
rootfs/usr/local/share/template-files/config/env/examples/mariadb.sh
rootfs/usr/local/share/template-files/config/env/examples/mongodb.sh
rootfs/usr/local/share/template-files/config/env/examples/networking.sh
rootfs/usr/local/share/template-files/config/env/examples/other.sh
rootfs/usr/local/share/template-files/config/env/examples/php.sh
rootfs/usr/local/share/template-files/config/env/examples/postgres.sh
rootfs/usr/local/share/template-files/config/env/examples/redis.sh
rootfs/usr/local/share/template-files/config/env/examples/services.sh
rootfs/usr/local/share/template-files/config/env/examples/ssl.sh
rootfs/usr/local/share/template-files/config/env/examples/supabase.sh
rootfs/usr/local/share/template-files/config/env/examples/webservers.sh
rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
rootfs/usr/local/share/template-files/config/.gitkeep
rootfs/usr/local/share/template-files/data/.gitkeep
rootfs/usr/local/share/template-files/defaults/.gitkeep
This commit is contained in:
casjay
2026-01-15 23:48:09 -05:00
parent 0564b3def3
commit 9ee5b6ffea
53 changed files with 836 additions and 141 deletions

View File

@@ -1,9 +1,15 @@
name: ubuntu-18-04 name: ubuntu-18-04
on: push on:
push:
branches:
- main
- master
schedule:
- cron: '0 2 2 * *'
jobs: jobs:
ubuntu-18-04: build-and-push:
runs-on: act_runner runs-on: act_runner
container: container:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
@@ -16,29 +22,21 @@ jobs:
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Get Meta - name: Get Meta
id: meta id: meta
env:
TAG: 18.04
ORG: casjaysdev
HUB: docker.io
run: | run: |
echo DATE_TAG=$(date +'%y%m') >> $GITHUB_OUTPUT echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
echo DOCKER_TAG=$([ -n "$TAG" ] && echo $TAG || echo "18.04") >> $GITHUB_OUTPUT
echo DOCKER_HUB=$([ -n "$HUB" ] && echo $HUB || echo "docker.io") >> $GITHUB_OUTPUT
echo DOCKER_ORG=$([ -n "$ORG" ] && echo "$ORG" || echo "casjaysdev") >> $GITHUB_OUTPUT
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}' | sed 's|^docker-||g') >> $GITHUB_OUTPUT
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
password: ${{ secrets.DOCKER_TOKEN }} password: ${{ secrets.DOCKER_TOKEN }}
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
registry: ${{ steps.meta.outputs.DOCKER_HUB }} registry: docker.io
- name: Build and push - name: Build and push
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
@@ -49,6 +47,38 @@ jobs:
linux/amd64 linux/amd64
linux/arm64 linux/arm64
push: true push: true
tags: | # replace it with your local IP and tags provenance: false
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:disco build-args: |
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.DOCKER_TAG }} IMAGE_NAME=ubuntu
IMAGE_VERSION=18.04
IMAGE_REPO=casjaysdev/ubuntu
PHP_SERVER=ubuntu
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
PULL_URL=ubuntu
DISTRO_VERSION=${IMAGE_VERSION}
CONTAINER_VERSION=bionic
TIMEZONE=America/New_York
LANGUAGE=en_US.UTF-8
PHP_VERSION=system
NODE_VERSION=system
NODE_MANAGER=system
SERVICE_PORT=
EXPOSE_PORTS=
WWW_ROOT_DIR=/usr/local/share/httpd/default
DEFAULT_FILE_DIR=/usr/local/share/template-files
DEFAULT_DATA_DIR=/usr/local/share/template-files/data
DEFAULT_CONF_DIR=/usr/local/share/template-files/config
DEFAULT_TEMPLATE_DIR=/usr/local/share/template-files/defaults
annotations: |
org.opencontainers.image.title=casjaysdev/ubuntu
org.opencontainers.image.description=Containerized version of casjaysdev/ubuntu
org.opencontainers.image.vendor=CasjaysDev
org.opencontainers.image.authors=CasjaysDev <docker-admin@casjaysdev.pro>
org.opencontainers.image.url=https://github.com/${{ github.repository }}
org.opencontainers.image.source=https://github.com/${{ github.repository }}
org.opencontainers.image.version=18.04
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
tags: |
docker.io/casjaysdev/ubuntu:18.04

View File

@@ -1,9 +1,15 @@
name: ubuntu-20-04 name: ubuntu-20-04
on: push on:
push:
branches:
- main
- master
schedule:
- cron: '0 2 2 * *'
jobs: jobs:
ubuntu-20-04: build-and-push:
runs-on: act_runner runs-on: act_runner
container: container:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
@@ -16,39 +22,63 @@ jobs:
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Get Meta - name: Get Meta
id: meta id: meta
env:
TAG: 20.04
ORG: casjaysdev
HUB: docker.io
run: | run: |
echo DATE_TAG=$(date +'%y%m') >> $GITHUB_OUTPUT echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
echo DOCKER_TAG=$([ -n "$TAG" ] && echo $TAG || echo "20.04") >> $GITHUB_OUTPUT
echo DOCKER_HUB=$([ -n "$HUB" ] && echo $HUB || echo "docker.io") >> $GITHUB_OUTPUT
echo DOCKER_ORG=$([ -n "$ORG" ] && echo "$ORG" || echo "casjaysdev") >> $GITHUB_OUTPUT
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}' | sed 's|^docker-||g') >> $GITHUB_OUTPUT
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
password: ${{ secrets.DOCKER_TOKEN }} password: ${{ secrets.DOCKER_TOKEN }}
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
registry: ${{ steps.meta.outputs.DOCKER_HUB }} registry: docker.io
- name: Build and push - name: Build and push
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
with: with:
context: . context: .
file: ./Dockerfile.21.04 file: ./Dockerfile.20.04
platforms: | platforms: |
linux/amd64 linux/amd64
linux/arm64 linux/arm64
push: true push: true
tags: | # replace it with your local IP and tags provenance: false
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:focal build-args: |
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.DOCKER_TAG }} IMAGE_NAME=ubuntu
IMAGE_VERSION=20.04
IMAGE_REPO=casjaysdev/ubuntu
PHP_SERVER=ubuntu
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
PULL_URL=ubuntu
DISTRO_VERSION=${IMAGE_VERSION}
CONTAINER_VERSION=focal
TIMEZONE=America/New_York
LANGUAGE=en_US.UTF-8
PHP_VERSION=system
NODE_VERSION=system
NODE_MANAGER=system
SERVICE_PORT=
EXPOSE_PORTS=
WWW_ROOT_DIR=/usr/local/share/httpd/default
DEFAULT_FILE_DIR=/usr/local/share/template-files
DEFAULT_DATA_DIR=/usr/local/share/template-files/data
DEFAULT_CONF_DIR=/usr/local/share/template-files/config
DEFAULT_TEMPLATE_DIR=/usr/local/share/template-files/defaults
annotations: |
org.opencontainers.image.title=casjaysdev/ubuntu
org.opencontainers.image.description=Containerized version of casjaysdev/ubuntu
org.opencontainers.image.vendor=CasjaysDev
org.opencontainers.image.authors=CasjaysDev <docker-admin@casjaysdev.pro>
org.opencontainers.image.url=https://github.com/${{ github.repository }}
org.opencontainers.image.source=https://github.com/${{ github.repository }}
org.opencontainers.image.version=20.04
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
tags: |
docker.io/casjaysdev/ubuntu:20.04

View File

@@ -1,9 +1,15 @@
name: ubuntu-22-04 name: ubuntu-22-04
on: push on:
push:
branches:
- main
- master
schedule:
- cron: '0 2 2 * *'
jobs: jobs:
ubuntu-22-04: build-and-push:
runs-on: act_runner runs-on: act_runner
container: container:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
@@ -16,29 +22,21 @@ jobs:
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Get Meta - name: Get Meta
id: meta id: meta
env:
TAG: 22.04
ORG: casjaysdev
HUB: docker.io
run: | run: |
echo DATE_TAG=$(date +'%y%m') >> $GITHUB_OUTPUT echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
echo DOCKER_TAG=$([ -n "$TAG" ] && echo $TAG || echo "22.04") >> $GITHUB_OUTPUT
echo DOCKER_HUB=$([ -n "$HUB" ] && echo $HUB || echo "docker.io") >> $GITHUB_OUTPUT
echo DOCKER_ORG=$([ -n "$ORG" ] && echo "$ORG" || echo "casjaysdev") >> $GITHUB_OUTPUT
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}' | sed 's|^docker-||g') >> $GITHUB_OUTPUT
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
password: ${{ secrets.DOCKER_TOKEN }} password: ${{ secrets.DOCKER_TOKEN }}
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
registry: ${{ steps.meta.outputs.DOCKER_HUB }} registry: docker.io
- name: Build and push - name: Build and push
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
@@ -49,6 +47,38 @@ jobs:
linux/amd64 linux/amd64
linux/arm64 linux/arm64
push: true push: true
tags: | # replace it with your local IP and tags provenance: false
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:jammy build-args: |
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.DOCKER_TAG }} IMAGE_NAME=ubuntu
IMAGE_VERSION=22.04
IMAGE_REPO=casjaysdev/ubuntu
PHP_SERVER=ubuntu
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
PULL_URL=ubuntu
DISTRO_VERSION=${IMAGE_VERSION}
CONTAINER_VERSION=jammy
TIMEZONE=America/New_York
LANGUAGE=en_US.UTF-8
PHP_VERSION=system
NODE_VERSION=system
NODE_MANAGER=system
SERVICE_PORT=
EXPOSE_PORTS=
WWW_ROOT_DIR=/usr/local/share/httpd/default
DEFAULT_FILE_DIR=/usr/local/share/template-files
DEFAULT_DATA_DIR=/usr/local/share/template-files/data
DEFAULT_CONF_DIR=/usr/local/share/template-files/config
DEFAULT_TEMPLATE_DIR=/usr/local/share/template-files/defaults
annotations: |
org.opencontainers.image.title=casjaysdev/ubuntu
org.opencontainers.image.description=Containerized version of casjaysdev/ubuntu
org.opencontainers.image.vendor=CasjaysDev
org.opencontainers.image.authors=CasjaysDev <docker-admin@casjaysdev.pro>
org.opencontainers.image.url=https://github.com/${{ github.repository }}
org.opencontainers.image.source=https://github.com/${{ github.repository }}
org.opencontainers.image.version=22.04
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
tags: |
docker.io/casjaysdev/ubuntu:22.04

View File

@@ -1,9 +1,15 @@
name: ubuntu-24-04 name: ubuntu-24-04
on: push on:
push:
branches:
- main
- master
schedule:
- cron: '0 2 2 * *'
jobs: jobs:
ubuntu-24-04: build-and-push:
runs-on: act_runner runs-on: act_runner
container: container:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
@@ -16,29 +22,21 @@ jobs:
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Get Meta - name: Get Meta
id: meta id: meta
env:
TAG: 24.04
ORG: casjaysdev
HUB: docker.io
run: | run: |
echo DATE_TAG=$(date +'%y%m') >> $GITHUB_OUTPUT echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
echo DOCKER_TAG=$([ -n "$TAG" ] && echo $TAG || echo "24.04") >> $GITHUB_OUTPUT
echo DOCKER_HUB=$([ -n "$HUB" ] && echo $HUB || echo "docker.io") >> $GITHUB_OUTPUT
echo DOCKER_ORG=$([ -n "$ORG" ] && echo "$ORG" || echo "casjaysdev") >> $GITHUB_OUTPUT
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}' | sed 's|^docker-||g') >> $GITHUB_OUTPUT
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
password: ${{ secrets.DOCKER_TOKEN }} password: ${{ secrets.DOCKER_TOKEN }}
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
registry: ${{ steps.meta.outputs.DOCKER_HUB }} registry: docker.io
- name: Build and push - name: Build and push
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
@@ -49,6 +47,38 @@ jobs:
linux/amd64 linux/amd64
linux/arm64 linux/arm64
push: true push: true
tags: | # replace it with your local IP and tags provenance: false
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:noble build-args: |
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.DOCKER_TAG }} IMAGE_NAME=ubuntu
IMAGE_VERSION=24.04
IMAGE_REPO=casjaysdev/ubuntu
PHP_SERVER=ubuntu
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
PULL_URL=ubuntu
DISTRO_VERSION=${IMAGE_VERSION}
CONTAINER_VERSION=noble
TIMEZONE=America/New_York
LANGUAGE=en_US.UTF-8
PHP_VERSION=system
NODE_VERSION=system
NODE_MANAGER=system
SERVICE_PORT=
EXPOSE_PORTS=
WWW_ROOT_DIR=/usr/local/share/httpd/default
DEFAULT_FILE_DIR=/usr/local/share/template-files
DEFAULT_DATA_DIR=/usr/local/share/template-files/data
DEFAULT_CONF_DIR=/usr/local/share/template-files/config
DEFAULT_TEMPLATE_DIR=/usr/local/share/template-files/defaults
annotations: |
org.opencontainers.image.title=casjaysdev/ubuntu
org.opencontainers.image.description=Containerized version of casjaysdev/ubuntu
org.opencontainers.image.vendor=CasjaysDev
org.opencontainers.image.authors=CasjaysDev <docker-admin@casjaysdev.pro>
org.opencontainers.image.url=https://github.com/${{ github.repository }}
org.opencontainers.image.source=https://github.com/${{ github.repository }}
org.opencontainers.image.version=24.04
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
tags: |
docker.io/casjaysdev/ubuntu:24.04

View File

@@ -1,9 +1,15 @@
name: ubuntu-24-10 name: ubuntu-24-10
on: push on:
push:
branches:
- main
- master
schedule:
- cron: '0 2 2 * *'
jobs: jobs:
ubuntu-24-10: build-and-push:
runs-on: act_runner runs-on: act_runner
container: container:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
@@ -16,29 +22,21 @@ jobs:
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Get Meta - name: Get Meta
id: meta id: meta
env:
TAG: 24.10
ORG: casjaysdev
HUB: docker.io
run: | run: |
echo DATE_TAG=$(date +'%y%m') >> $GITHUB_OUTPUT echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
echo DOCKER_TAG=$([ -n "$TAG" ] && echo $TAG || echo "24.10") >> $GITHUB_OUTPUT
echo DOCKER_HUB=$([ -n "$HUB" ] && echo $HUB || echo "docker.io") >> $GITHUB_OUTPUT
echo DOCKER_ORG=$([ -n "$ORG" ] && echo "$ORG" || echo "casjaysdev") >> $GITHUB_OUTPUT
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}' | sed 's|^docker-||g') >> $GITHUB_OUTPUT
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
password: ${{ secrets.DOCKER_TOKEN }} password: ${{ secrets.DOCKER_TOKEN }}
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
registry: ${{ steps.meta.outputs.DOCKER_HUB }} registry: docker.io
- name: Build and push - name: Build and push
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
@@ -49,6 +47,38 @@ jobs:
linux/amd64 linux/amd64
linux/arm64 linux/arm64
push: true push: true
tags: | # replace it with your local IP and tags provenance: false
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:oracular build-args: |
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.DOCKER_TAG }} IMAGE_NAME=ubuntu
IMAGE_VERSION=24.10
IMAGE_REPO=casjaysdev/ubuntu
PHP_SERVER=ubuntu
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
PULL_URL=ubuntu
DISTRO_VERSION=${IMAGE_VERSION}
CONTAINER_VERSION=oracular
TIMEZONE=America/New_York
LANGUAGE=en_US.UTF-8
PHP_VERSION=system
NODE_VERSION=system
NODE_MANAGER=system
SERVICE_PORT=
EXPOSE_PORTS=
WWW_ROOT_DIR=/usr/local/share/httpd/default
DEFAULT_FILE_DIR=/usr/local/share/template-files
DEFAULT_DATA_DIR=/usr/local/share/template-files/data
DEFAULT_CONF_DIR=/usr/local/share/template-files/config
DEFAULT_TEMPLATE_DIR=/usr/local/share/template-files/defaults
annotations: |
org.opencontainers.image.title=casjaysdev/ubuntu
org.opencontainers.image.description=Containerized version of casjaysdev/ubuntu
org.opencontainers.image.vendor=CasjaysDev
org.opencontainers.image.authors=CasjaysDev <docker-admin@casjaysdev.pro>
org.opencontainers.image.url=https://github.com/${{ github.repository }}
org.opencontainers.image.source=https://github.com/${{ github.repository }}
org.opencontainers.image.version=24.10
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
tags: |
docker.io/casjaysdev/ubuntu:24.10

View File

@@ -1,9 +1,15 @@
name: ubuntu name: ubuntu
on: push on:
push:
branches:
- main
- master
schedule:
- cron: '0 2 2 * *'
jobs: jobs:
release-ubuntu: build-and-push:
runs-on: act_runner runs-on: act_runner
container: container:
image: catthehacker/ubuntu:act-latest image: catthehacker/ubuntu:act-latest
@@ -16,26 +22,21 @@ jobs:
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@v2 uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Get Meta - name: Get Meta
id: meta id: meta
run: | run: |
echo DATE_TAG=$(date +'%y%m') >> $GITHUB_OUTPUT echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
echo DOCKER_ORG=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $1}') >> $GITHUB_OUTPUT
echo DOCKER_TAG=$([ -n "$DOCKER_TAG" ] && echo ${DOCKER_TAG} || echo "latest") >> $GITHUB_OUTPUT
echo DOCKER_HUB=$([ -n "$DOCKER_HUB" ] && echo ${DOCKER_HUB} || echo "docker.io") >> $GITHUB_OUTPUT
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}' | sed 's|^docker-||g') >> $GITHUB_OUTPUT
echo "$DOCKER_HUB/$DOCKER_ORG/$REPO_NAME:$DOCKER_TAG"
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
password: ${{ secrets.DOCKER_TOKEN }} password: ${{ secrets.DOCKER_TOKEN }}
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
registry: ${{ steps.meta.outputs.DOCKER_HUB }} registry: docker.io
- name: Build and push - name: Build and push
uses: docker/build-push-action@v4 uses: docker/build-push-action@v4
@@ -46,6 +47,39 @@ jobs:
linux/amd64 linux/amd64
linux/arm64 linux/arm64
push: true push: true
tags: | # replace it with your local IP and tags provenance: false
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.DATE_TAG }} build-args: |
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.DOCKER_TAG }} IMAGE_NAME=ubuntu
IMAGE_VERSION=latest
IMAGE_REPO=casjaysdev/ubuntu
PHP_SERVER=ubuntu
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
PULL_URL=ubuntu
DISTRO_VERSION=${IMAGE_VERSION}
CONTAINER_VERSION=USE_DATE
TIMEZONE=America/New_York
LANGUAGE=en_US.UTF-8
PHP_VERSION=system
NODE_VERSION=system
NODE_MANAGER=system
SERVICE_PORT=
EXPOSE_PORTS=
WWW_ROOT_DIR=/usr/local/share/httpd/default
DEFAULT_FILE_DIR=/usr/local/share/template-files
DEFAULT_DATA_DIR=/usr/local/share/template-files/data
DEFAULT_CONF_DIR=/usr/local/share/template-files/config
DEFAULT_TEMPLATE_DIR=/usr/local/share/template-files/defaults
annotations: |
org.opencontainers.image.title=casjaysdev/ubuntu
org.opencontainers.image.description=Containerized version of casjaysdev/ubuntu
org.opencontainers.image.vendor=CasjaysDev
org.opencontainers.image.authors=CasjaysDev <docker-admin@casjaysdev.pro>
org.opencontainers.image.url=https://github.com/${{ github.repository }}
org.opencontainers.image.source=https://github.com/${{ github.repository }}
org.opencontainers.image.version=latest
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
tags: |
docker.io/casjaysdev/ubuntu:latest
docker.io/casjaysdev/ubuntu:${{ steps.meta.outputs.DATE_TAG }}

85
.github/workflows/docker.18.04.yaml vendored Normal file
View File

@@ -0,0 +1,85 @@
name: ubuntu-18-04
on:
push:
branches:
- main
- master
pull_request:
schedule:
- cron: '0 2 2 * *'
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Get Meta
id: meta
run: |
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.18.04
platforms: |
linux/amd64
linux/arm64
push: ${{ github.event_name != 'pull_request' }}
provenance: false
build-args: |
IMAGE_NAME=ubuntu
IMAGE_VERSION=18.04
IMAGE_REPO=${{ github.repository }}
PHP_SERVER=ubuntu
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
PULL_URL=ubuntu
DISTRO_VERSION=${IMAGE_VERSION}
CONTAINER_VERSION=bionic
TIMEZONE=America/New_York
LANGUAGE=en_US.UTF-8
PHP_VERSION=system
NODE_VERSION=system
NODE_MANAGER=system
SERVICE_PORT=
EXPOSE_PORTS=
WWW_ROOT_DIR=/usr/local/share/httpd/default
DEFAULT_FILE_DIR=/usr/local/share/template-files
DEFAULT_DATA_DIR=/usr/local/share/template-files/data
DEFAULT_CONF_DIR=/usr/local/share/template-files/config
DEFAULT_TEMPLATE_DIR=/usr/local/share/template-files/defaults
annotations: |
org.opencontainers.image.title=${{ github.repository }}
org.opencontainers.image.description=Containerized version of ${{ github.repository }}
org.opencontainers.image.vendor=CasjaysDev
org.opencontainers.image.authors=CasjaysDev <docker-admin@casjaysdev.pro>
org.opencontainers.image.url=https://github.com/${{ github.repository }}
org.opencontainers.image.source=https://github.com/${{ github.repository }}
org.opencontainers.image.version=18.04
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
tags: |
ghcr.io/${{ github.repository }}:18.04

85
.github/workflows/docker.20.04.yaml vendored Normal file
View File

@@ -0,0 +1,85 @@
name: ubuntu-20-04
on:
push:
branches:
- main
- master
pull_request:
schedule:
- cron: '0 2 2 * *'
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Get Meta
id: meta
run: |
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.20.04
platforms: |
linux/amd64
linux/arm64
push: ${{ github.event_name != 'pull_request' }}
provenance: false
build-args: |
IMAGE_NAME=ubuntu
IMAGE_VERSION=20.04
IMAGE_REPO=${{ github.repository }}
PHP_SERVER=ubuntu
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
PULL_URL=ubuntu
DISTRO_VERSION=${IMAGE_VERSION}
CONTAINER_VERSION=focal
TIMEZONE=America/New_York
LANGUAGE=en_US.UTF-8
PHP_VERSION=system
NODE_VERSION=system
NODE_MANAGER=system
SERVICE_PORT=
EXPOSE_PORTS=
WWW_ROOT_DIR=/usr/local/share/httpd/default
DEFAULT_FILE_DIR=/usr/local/share/template-files
DEFAULT_DATA_DIR=/usr/local/share/template-files/data
DEFAULT_CONF_DIR=/usr/local/share/template-files/config
DEFAULT_TEMPLATE_DIR=/usr/local/share/template-files/defaults
annotations: |
org.opencontainers.image.title=${{ github.repository }}
org.opencontainers.image.description=Containerized version of ${{ github.repository }}
org.opencontainers.image.vendor=CasjaysDev
org.opencontainers.image.authors=CasjaysDev <docker-admin@casjaysdev.pro>
org.opencontainers.image.url=https://github.com/${{ github.repository }}
org.opencontainers.image.source=https://github.com/${{ github.repository }}
org.opencontainers.image.version=20.04
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
tags: |
ghcr.io/${{ github.repository }}:20.04

85
.github/workflows/docker.22.04.yaml vendored Normal file
View File

@@ -0,0 +1,85 @@
name: ubuntu-22-04
on:
push:
branches:
- main
- master
pull_request:
schedule:
- cron: '0 2 2 * *'
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Get Meta
id: meta
run: |
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.22.04
platforms: |
linux/amd64
linux/arm64
push: ${{ github.event_name != 'pull_request' }}
provenance: false
build-args: |
IMAGE_NAME=ubuntu
IMAGE_VERSION=22.04
IMAGE_REPO=${{ github.repository }}
PHP_SERVER=ubuntu
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
PULL_URL=ubuntu
DISTRO_VERSION=${IMAGE_VERSION}
CONTAINER_VERSION=jammy
TIMEZONE=America/New_York
LANGUAGE=en_US.UTF-8
PHP_VERSION=system
NODE_VERSION=system
NODE_MANAGER=system
SERVICE_PORT=
EXPOSE_PORTS=
WWW_ROOT_DIR=/usr/local/share/httpd/default
DEFAULT_FILE_DIR=/usr/local/share/template-files
DEFAULT_DATA_DIR=/usr/local/share/template-files/data
DEFAULT_CONF_DIR=/usr/local/share/template-files/config
DEFAULT_TEMPLATE_DIR=/usr/local/share/template-files/defaults
annotations: |
org.opencontainers.image.title=${{ github.repository }}
org.opencontainers.image.description=Containerized version of ${{ github.repository }}
org.opencontainers.image.vendor=CasjaysDev
org.opencontainers.image.authors=CasjaysDev <docker-admin@casjaysdev.pro>
org.opencontainers.image.url=https://github.com/${{ github.repository }}
org.opencontainers.image.source=https://github.com/${{ github.repository }}
org.opencontainers.image.version=22.04
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
tags: |
ghcr.io/${{ github.repository }}:22.04

85
.github/workflows/docker.24.04.yaml vendored Normal file
View File

@@ -0,0 +1,85 @@
name: ubuntu-24-04
on:
push:
branches:
- main
- master
pull_request:
schedule:
- cron: '0 2 2 * *'
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Get Meta
id: meta
run: |
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.24.04
platforms: |
linux/amd64
linux/arm64
push: ${{ github.event_name != 'pull_request' }}
provenance: false
build-args: |
IMAGE_NAME=ubuntu
IMAGE_VERSION=24.04
IMAGE_REPO=${{ github.repository }}
PHP_SERVER=ubuntu
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
PULL_URL=ubuntu
DISTRO_VERSION=${IMAGE_VERSION}
CONTAINER_VERSION=noble
TIMEZONE=America/New_York
LANGUAGE=en_US.UTF-8
PHP_VERSION=system
NODE_VERSION=system
NODE_MANAGER=system
SERVICE_PORT=
EXPOSE_PORTS=
WWW_ROOT_DIR=/usr/local/share/httpd/default
DEFAULT_FILE_DIR=/usr/local/share/template-files
DEFAULT_DATA_DIR=/usr/local/share/template-files/data
DEFAULT_CONF_DIR=/usr/local/share/template-files/config
DEFAULT_TEMPLATE_DIR=/usr/local/share/template-files/defaults
annotations: |
org.opencontainers.image.title=${{ github.repository }}
org.opencontainers.image.description=Containerized version of ${{ github.repository }}
org.opencontainers.image.vendor=CasjaysDev
org.opencontainers.image.authors=CasjaysDev <docker-admin@casjaysdev.pro>
org.opencontainers.image.url=https://github.com/${{ github.repository }}
org.opencontainers.image.source=https://github.com/${{ github.repository }}
org.opencontainers.image.version=24.04
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
tags: |
ghcr.io/${{ github.repository }}:24.04

85
.github/workflows/docker.24.10.yaml vendored Normal file
View File

@@ -0,0 +1,85 @@
name: ubuntu-24-10
on:
push:
branches:
- main
- master
pull_request:
schedule:
- cron: '0 2 2 * *'
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Get Meta
id: meta
run: |
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile.24.10
platforms: |
linux/amd64
linux/arm64
push: ${{ github.event_name != 'pull_request' }}
provenance: false
build-args: |
IMAGE_NAME=ubuntu
IMAGE_VERSION=24.10
IMAGE_REPO=${{ github.repository }}
PHP_SERVER=ubuntu
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
PULL_URL=ubuntu
DISTRO_VERSION=${IMAGE_VERSION}
CONTAINER_VERSION=oracular
TIMEZONE=America/New_York
LANGUAGE=en_US.UTF-8
PHP_VERSION=system
NODE_VERSION=system
NODE_MANAGER=system
SERVICE_PORT=
EXPOSE_PORTS=
WWW_ROOT_DIR=/usr/local/share/httpd/default
DEFAULT_FILE_DIR=/usr/local/share/template-files
DEFAULT_DATA_DIR=/usr/local/share/template-files/data
DEFAULT_CONF_DIR=/usr/local/share/template-files/config
DEFAULT_TEMPLATE_DIR=/usr/local/share/template-files/defaults
annotations: |
org.opencontainers.image.title=${{ github.repository }}
org.opencontainers.image.description=Containerized version of ${{ github.repository }}
org.opencontainers.image.vendor=CasjaysDev
org.opencontainers.image.authors=CasjaysDev <docker-admin@casjaysdev.pro>
org.opencontainers.image.url=https://github.com/${{ github.repository }}
org.opencontainers.image.source=https://github.com/${{ github.repository }}
org.opencontainers.image.version=24.10
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
tags: |
ghcr.io/${{ github.repository }}:24.10

86
.github/workflows/docker.yaml vendored Normal file
View File

@@ -0,0 +1,86 @@
name: ubuntu
on:
push:
branches:
- main
- master
pull_request:
schedule:
- cron: '0 2 2 * *'
workflow_dispatch:
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Get Meta
id: meta
run: |
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
platforms: |
linux/amd64
linux/arm64
push: ${{ github.event_name != 'pull_request' }}
provenance: false
build-args: |
IMAGE_NAME=ubuntu
IMAGE_VERSION=latest
IMAGE_REPO=${{ github.repository }}
PHP_SERVER=ubuntu
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
PULL_URL=ubuntu
DISTRO_VERSION=${IMAGE_VERSION}
CONTAINER_VERSION=USE_DATE
TIMEZONE=America/New_York
LANGUAGE=en_US.UTF-8
PHP_VERSION=system
NODE_VERSION=system
NODE_MANAGER=system
SERVICE_PORT=
EXPOSE_PORTS=
WWW_ROOT_DIR=/usr/local/share/httpd/default
DEFAULT_FILE_DIR=/usr/local/share/template-files
DEFAULT_DATA_DIR=/usr/local/share/template-files/data
DEFAULT_CONF_DIR=/usr/local/share/template-files/config
DEFAULT_TEMPLATE_DIR=/usr/local/share/template-files/defaults
annotations: |
org.opencontainers.image.title=${{ github.repository }}
org.opencontainers.image.description=Containerized version of ${{ github.repository }}
org.opencontainers.image.vendor=CasjaysDev
org.opencontainers.image.authors=CasjaysDev <docker-admin@casjaysdev.pro>
org.opencontainers.image.url=https://github.com/${{ github.repository }}
org.opencontainers.image.source=https://github.com/${{ github.repository }}
org.opencontainers.image.version=latest
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
tags: |
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ steps.meta.outputs.DATE_TAG }}

View File

@@ -73,7 +73,7 @@ ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}"
USER ${USER} USER ${USER}
WORKDIR /root WORKDIR /root
COPY ./rootfs/usr/local/bin/. /usr/local/bin/ COPY ./dockerfs/usr/local/bin/. /usr/local/bin/
RUN set -e; \ RUN set -e; \
echo "Updating the system and ensuring bash is installed"; \ echo "Updating the system and ensuring bash is installed"; \
@@ -119,7 +119,7 @@ RUN echo "Initializing packages before copying files to image"; \
if [ -f "/root/docker/setup/02-packages.sh" ];then echo "Running the packages script";/root/docker/setup/02-packages.sh||{ echo "Failed to execute /root/docker/setup/02-packages.sh" >&2 && exit 10; };echo "Done running the packages script";fi; \ if [ -f "/root/docker/setup/02-packages.sh" ];then echo "Running the packages script";/root/docker/setup/02-packages.sh||{ echo "Failed to execute /root/docker/setup/02-packages.sh" >&2 && exit 10; };echo "Done running the packages script";fi; \
echo "" echo ""
COPY ./rootfs/. / COPY ./dockerfs/. /
COPY ./Dockerfile /root/docker/Dockerfile COPY ./Dockerfile /root/docker/Dockerfile
RUN echo "Updating system files "; \ RUN echo "Updating system files "; \

View File

@@ -73,7 +73,7 @@ ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}"
USER ${USER} USER ${USER}
WORKDIR /root WORKDIR /root
COPY ./rootfs/usr/local/bin/. /usr/local/bin/ COPY ./dockerfs/usr/local/bin/. /usr/local/bin/
RUN set -e; \ RUN set -e; \
echo "Updating the system and ensuring bash is installed"; \ echo "Updating the system and ensuring bash is installed"; \
@@ -121,7 +121,7 @@ RUN echo "Initializing packages before copying files to image"; \
if [ -f "/root/docker/setup/02-packages.sh" ];then echo "Running the packages script";/root/docker/setup/02-packages.sh||{ echo "Failed to execute /root/docker/setup/02-packages.sh" >&2 && exit 10; };echo "Done running the packages script";fi; \ if [ -f "/root/docker/setup/02-packages.sh" ];then echo "Running the packages script";/root/docker/setup/02-packages.sh||{ echo "Failed to execute /root/docker/setup/02-packages.sh" >&2 && exit 10; };echo "Done running the packages script";fi; \
echo "" echo ""
COPY ./rootfs/. / COPY ./dockerfs/. /
COPY ./Dockerfile.18.04 /root/docker/Dockerfile COPY ./Dockerfile.18.04 /root/docker/Dockerfile
RUN echo "Updating system files "; \ RUN echo "Updating system files "; \

View File

@@ -73,7 +73,7 @@ ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}"
USER ${USER} USER ${USER}
WORKDIR /root WORKDIR /root
COPY ./rootfs/usr/local/bin/. /usr/local/bin/ COPY ./dockerfs/usr/local/bin/. /usr/local/bin/
RUN set -e; \ RUN set -e; \
echo "Updating the system and ensuring bash is installed"; \ echo "Updating the system and ensuring bash is installed"; \
@@ -119,7 +119,7 @@ RUN echo "Initializing packages before copying files to image"; \
if [ -f "/root/docker/setup/02-packages.sh" ];then echo "Running the packages script";/root/docker/setup/02-packages.sh||{ echo "Failed to execute /root/docker/setup/02-packages.sh" >&2 && exit 10; };echo "Done running the packages script";fi; \ if [ -f "/root/docker/setup/02-packages.sh" ];then echo "Running the packages script";/root/docker/setup/02-packages.sh||{ echo "Failed to execute /root/docker/setup/02-packages.sh" >&2 && exit 10; };echo "Done running the packages script";fi; \
echo "" echo ""
COPY ./rootfs/. / COPY ./dockerfs/. /
COPY ./Dockerfile.20.04 /root/docker/Dockerfile COPY ./Dockerfile.20.04 /root/docker/Dockerfile
RUN echo "Updating system files "; \ RUN echo "Updating system files "; \

View File

@@ -73,7 +73,7 @@ ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}"
USER ${USER} USER ${USER}
WORKDIR /root WORKDIR /root
COPY ./rootfs/usr/local/bin/. /usr/local/bin/ COPY ./dockerfs/usr/local/bin/. /usr/local/bin/
RUN set -e; \ RUN set -e; \
echo "Updating the system and ensuring bash is installed"; \ echo "Updating the system and ensuring bash is installed"; \
@@ -119,7 +119,7 @@ RUN echo "Initializing packages before copying files to image"; \
if [ -f "/root/docker/setup/02-packages.sh" ];then echo "Running the packages script";/root/docker/setup/02-packages.sh||{ echo "Failed to execute /root/docker/setup/02-packages.sh" >&2 && exit 10; };echo "Done running the packages script";fi; \ if [ -f "/root/docker/setup/02-packages.sh" ];then echo "Running the packages script";/root/docker/setup/02-packages.sh||{ echo "Failed to execute /root/docker/setup/02-packages.sh" >&2 && exit 10; };echo "Done running the packages script";fi; \
echo "" echo ""
COPY ./rootfs/. / COPY ./dockerfs/. /
COPY ./Dockerfile.22.04 /root/docker/Dockerfile COPY ./Dockerfile.22.04 /root/docker/Dockerfile
RUN echo "Updating system files "; \ RUN echo "Updating system files "; \

View File

@@ -73,7 +73,7 @@ ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}"
USER ${USER} USER ${USER}
WORKDIR /root WORKDIR /root
COPY ./rootfs/usr/local/bin/. /usr/local/bin/ COPY ./dockerfs/usr/local/bin/. /usr/local/bin/
RUN set -e; \ RUN set -e; \
echo "Updating the system and ensuring bash is installed"; \ echo "Updating the system and ensuring bash is installed"; \
@@ -119,7 +119,7 @@ RUN echo "Initializing packages before copying files to image"; \
if [ -f "/root/docker/setup/02-packages.sh" ];then echo "Running the packages script";/root/docker/setup/02-packages.sh||{ echo "Failed to execute /root/docker/setup/02-packages.sh" >&2 && exit 10; };echo "Done running the packages script";fi; \ if [ -f "/root/docker/setup/02-packages.sh" ];then echo "Running the packages script";/root/docker/setup/02-packages.sh||{ echo "Failed to execute /root/docker/setup/02-packages.sh" >&2 && exit 10; };echo "Done running the packages script";fi; \
echo "" echo ""
COPY ./rootfs/. / COPY ./dockerfs/. /
COPY ./Dockerfile.24.04 /root/docker/Dockerfile COPY ./Dockerfile.24.04 /root/docker/Dockerfile
RUN echo "Updating system files "; \ RUN echo "Updating system files "; \

View File

@@ -73,7 +73,7 @@ ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}"
USER ${USER} USER ${USER}
WORKDIR /root WORKDIR /root
COPY ./rootfs/usr/local/bin/. /usr/local/bin/ COPY ./dockerfs/usr/local/bin/. /usr/local/bin/
RUN set -e; \ RUN set -e; \
echo "Setting up prerequisites"; \ echo "Setting up prerequisites"; \
@@ -122,7 +122,7 @@ RUN echo "Initializing packages before copying files to image"; \
if [ -f "/root/docker/setup/02-packages.sh" ];then echo "Running the packages script";/root/docker/setup/02-packages.sh||{ echo "Failed to execute /root/docker/setup/02-packages.sh" >&2 && exit 10; };echo "Done running the packages script";fi; \ if [ -f "/root/docker/setup/02-packages.sh" ];then echo "Running the packages script";/root/docker/setup/02-packages.sh||{ echo "Failed to execute /root/docker/setup/02-packages.sh" >&2 && exit 10; };echo "Done running the packages script";fi; \
echo "" echo ""
COPY ./rootfs/. / COPY ./dockerfs/. /
COPY ./Dockerfile.24.10 /root/docker/Dockerfile COPY ./Dockerfile.24.10 /root/docker/Dockerfile
RUN echo "Updating system files "; \ RUN echo "Updating system files "; \

View File

@@ -21,7 +21,7 @@ dockermgr update os ubuntu
```shell ```shell
mkdir -p "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest" mkdir -p "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest"
git clone "https://github.com/dockermgr/ubuntu" "$HOME/.local/share/CasjaysDev/dockermgr/ubuntu" git clone "https://github.com/dockermgr/ubuntu" "$HOME/.local/share/CasjaysDev/dockermgr/ubuntu"
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/ubuntu/rootfs/." "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/" cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/ubuntu/dockerfs/." "/var/lib/srv/root/docker/casjaysdev/ubuntu/latest/"
docker run -d \ docker run -d \
--restart always \ --restart always \
--privileged \ --privileged \