mirror of
https://github.com/dockersrc/debian
synced 2026-01-17 08:03:17 -05:00
🗃️ Updated workflows and moved rootfs 🗃️
Dockerfile Dockerfile.10 Dockerfile.11 Dockerfile.12 Dockerfile.13 dockerfs/ .gitea/workflows/docker.10.yaml .gitea/workflows/docker.11.yaml .gitea/workflows/docker.12.yaml .gitea/workflows/docker.13.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:
@@ -1,9 +1,15 @@
|
||||
name: debian-10
|
||||
|
||||
on: push
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
schedule:
|
||||
- cron: '0 2 2 * *'
|
||||
|
||||
jobs:
|
||||
debian-10:
|
||||
build-and-push:
|
||||
runs-on: act_runner
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
@@ -16,29 +22,21 @@ jobs:
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Get Meta
|
||||
id: meta
|
||||
env:
|
||||
TAG: 10
|
||||
ORG: casjaysdev
|
||||
HUB: docker.io
|
||||
run: |
|
||||
echo DATE_TAG=$(date +'%y%m') >> $GITHUB_OUTPUT
|
||||
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT
|
||||
echo DOCKER_TAG=$([ -n "$TAG" ] && echo $TAG || echo "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
|
||||
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
|
||||
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
registry: ${{ steps.meta.outputs.DOCKER_HUB }}
|
||||
registry: docker.io
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
@@ -49,6 +47,38 @@ jobs:
|
||||
linux/amd64
|
||||
linux/arm64
|
||||
push: true
|
||||
tags: | # replace it with your local IP and tags
|
||||
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:buster
|
||||
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.DOCKER_TAG }}
|
||||
provenance: false
|
||||
build-args: |
|
||||
IMAGE_NAME=debian
|
||||
IMAGE_VERSION=buster
|
||||
IMAGE_REPO=casjaysdev/debian
|
||||
PHP_SERVER=debian
|
||||
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
PULL_URL=debian
|
||||
DISTRO_VERSION=${IMAGE_VERSION}
|
||||
CONTAINER_VERSION=10
|
||||
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/debian
|
||||
org.opencontainers.image.description=Containerized version of casjaysdev/debian
|
||||
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=buster
|
||||
org.opencontainers.image.revision=${{ github.sha }}
|
||||
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
|
||||
tags: |
|
||||
docker.io/casjaysdev/debian:buster
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
name: debian-11
|
||||
|
||||
on: push
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
schedule:
|
||||
- cron: '0 2 2 * *'
|
||||
|
||||
jobs:
|
||||
debian-11:
|
||||
build-and-push:
|
||||
runs-on: act_runner
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
@@ -16,29 +22,21 @@ jobs:
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Get Meta
|
||||
id: meta
|
||||
env:
|
||||
TAG: 11
|
||||
ORG: casjaysdev
|
||||
HUB: docker.io
|
||||
run: |
|
||||
echo DATE_TAG=$(date +'%y%m') >> $GITHUB_OUTPUT
|
||||
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT
|
||||
echo DOCKER_TAG=$([ -n "$TAG" ] && echo $TAG || echo "11") >> $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
|
||||
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
|
||||
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
registry: ${{ steps.meta.outputs.DOCKER_HUB }}
|
||||
registry: docker.io
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
@@ -49,6 +47,38 @@ jobs:
|
||||
linux/amd64
|
||||
linux/arm64
|
||||
push: true
|
||||
tags: | # replace it with your local IP and tags
|
||||
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:bullseye
|
||||
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.DOCKER_TAG }}
|
||||
provenance: false
|
||||
build-args: |
|
||||
IMAGE_NAME=debian
|
||||
IMAGE_VERSION=bullseye
|
||||
IMAGE_REPO=casjaysdev/debian
|
||||
PHP_SERVER=debian
|
||||
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
PULL_URL=debian
|
||||
DISTRO_VERSION=${IMAGE_VERSION}
|
||||
CONTAINER_VERSION=11
|
||||
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/debian
|
||||
org.opencontainers.image.description=Containerized version of casjaysdev/debian
|
||||
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=bullseye
|
||||
org.opencontainers.image.revision=${{ github.sha }}
|
||||
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
|
||||
tags: |
|
||||
docker.io/casjaysdev/debian:bullseye
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
name: debian-12
|
||||
|
||||
on: push
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
schedule:
|
||||
- cron: '0 2 2 * *'
|
||||
|
||||
jobs:
|
||||
debian-12:
|
||||
build-and-push:
|
||||
runs-on: act_runner
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
@@ -16,29 +22,21 @@ jobs:
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Get Meta
|
||||
id: meta
|
||||
env:
|
||||
TAG: 10
|
||||
ORG: casjaysdev
|
||||
HUB: docker.io
|
||||
run: |
|
||||
echo DATE_TAG=$(date +'%y%m') >> $GITHUB_OUTPUT
|
||||
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT
|
||||
echo DOCKER_TAG=$([ -n "$TAG" ] && echo $TAG || echo "12") >> $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
|
||||
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
|
||||
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
registry: ${{ steps.meta.outputs.DOCKER_HUB }}
|
||||
registry: docker.io
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
@@ -49,6 +47,38 @@ jobs:
|
||||
linux/amd64
|
||||
linux/arm64
|
||||
push: true
|
||||
tags: | # replace it with your local IP and tags
|
||||
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:bookworm
|
||||
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.DOCKER_TAG }}
|
||||
provenance: false
|
||||
build-args: |
|
||||
IMAGE_NAME=debian
|
||||
IMAGE_VERSION=bookworm
|
||||
IMAGE_REPO=casjaysdev/debian
|
||||
PHP_SERVER=debian
|
||||
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
PULL_URL=debian
|
||||
DISTRO_VERSION=${IMAGE_VERSION}
|
||||
CONTAINER_VERSION=12
|
||||
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/debian
|
||||
org.opencontainers.image.description=Containerized version of casjaysdev/debian
|
||||
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=bookworm
|
||||
org.opencontainers.image.revision=${{ github.sha }}
|
||||
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
|
||||
tags: |
|
||||
docker.io/casjaysdev/debian:bookworm
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
name: debian-13
|
||||
|
||||
on: push
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
schedule:
|
||||
- cron: '0 2 2 * *'
|
||||
|
||||
jobs:
|
||||
debian-13:
|
||||
build-and-push:
|
||||
runs-on: act_runner
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
@@ -16,29 +22,21 @@ jobs:
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Get Meta
|
||||
id: meta
|
||||
env:
|
||||
TAG: 13
|
||||
ORG: casjaysdev
|
||||
HUB: docker.io
|
||||
run: |
|
||||
echo DATE_TAG=$(date +'%y%m') >> $GITHUB_OUTPUT
|
||||
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT
|
||||
echo DOCKER_TAG=$([ -n "$TAG" ] && echo $TAG || echo "13") >> $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
|
||||
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
|
||||
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
registry: ${{ steps.meta.outputs.DOCKER_HUB }}
|
||||
registry: docker.io
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
@@ -49,6 +47,38 @@ jobs:
|
||||
linux/amd64
|
||||
linux/arm64
|
||||
push: true
|
||||
tags: | # replace it with your local IP and tags
|
||||
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:trixie
|
||||
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.DOCKER_TAG }}
|
||||
provenance: false
|
||||
build-args: |
|
||||
IMAGE_NAME=debian
|
||||
IMAGE_VERSION=trixie
|
||||
IMAGE_REPO=casjaysdev/debian
|
||||
PHP_SERVER=debian
|
||||
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
PULL_URL=debian
|
||||
DISTRO_VERSION=${IMAGE_VERSION}
|
||||
CONTAINER_VERSION=13
|
||||
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/debian
|
||||
org.opencontainers.image.description=Containerized version of casjaysdev/debian
|
||||
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=trixie
|
||||
org.opencontainers.image.revision=${{ github.sha }}
|
||||
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
|
||||
tags: |
|
||||
docker.io/casjaysdev/debian:trixie
|
||||
|
||||
@@ -1,9 +1,15 @@
|
||||
name: debian
|
||||
|
||||
on: push
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
schedule:
|
||||
- cron: '0 2 2 * *'
|
||||
|
||||
jobs:
|
||||
release-debian:
|
||||
build-and-push:
|
||||
runs-on: act_runner
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
@@ -16,26 +22,21 @@ jobs:
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Get Meta
|
||||
id: meta
|
||||
run: |
|
||||
echo DATE_TAG=$(date +'%y%m') >> $GITHUB_OUTPUT
|
||||
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $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
|
||||
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
|
||||
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
registry: ${{ steps.meta.outputs.DOCKER_HUB }}
|
||||
registry: docker.io
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
@@ -46,6 +47,39 @@ jobs:
|
||||
linux/amd64
|
||||
linux/arm64
|
||||
push: true
|
||||
tags: | # replace it with your local IP and tags
|
||||
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.DATE_TAG }}
|
||||
${{ steps.meta.outputs.DOCKER_HUB }}/${{ steps.meta.outputs.DOCKER_ORG }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.DOCKER_TAG }}
|
||||
provenance: false
|
||||
build-args: |
|
||||
IMAGE_NAME=debian
|
||||
IMAGE_VERSION=latest
|
||||
IMAGE_REPO=casjaysdev/debian
|
||||
PHP_SERVER=debian
|
||||
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
PULL_URL=debian
|
||||
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/debian
|
||||
org.opencontainers.image.description=Containerized version of casjaysdev/debian
|
||||
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/debian:latest
|
||||
docker.io/casjaysdev/debian:${{ steps.meta.outputs.DATE_TAG }}
|
||||
|
||||
85
.github/workflows/docker.10.yaml
vendored
Normal file
85
.github/workflows/docker.10.yaml
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
name: debian-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.10
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm64
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
provenance: false
|
||||
build-args: |
|
||||
IMAGE_NAME=debian
|
||||
IMAGE_VERSION=buster
|
||||
IMAGE_REPO=${{ github.repository }}
|
||||
PHP_SERVER=debian
|
||||
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
PULL_URL=debian
|
||||
DISTRO_VERSION=${IMAGE_VERSION}
|
||||
CONTAINER_VERSION=10
|
||||
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=buster
|
||||
org.opencontainers.image.revision=${{ github.sha }}
|
||||
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}:buster
|
||||
85
.github/workflows/docker.11.yaml
vendored
Normal file
85
.github/workflows/docker.11.yaml
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
name: debian-11
|
||||
|
||||
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.11
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm64
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
provenance: false
|
||||
build-args: |
|
||||
IMAGE_NAME=debian
|
||||
IMAGE_VERSION=bullseye
|
||||
IMAGE_REPO=${{ github.repository }}
|
||||
PHP_SERVER=debian
|
||||
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
PULL_URL=debian
|
||||
DISTRO_VERSION=${IMAGE_VERSION}
|
||||
CONTAINER_VERSION=11
|
||||
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=bullseye
|
||||
org.opencontainers.image.revision=${{ github.sha }}
|
||||
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}:bullseye
|
||||
85
.github/workflows/docker.12.yaml
vendored
Normal file
85
.github/workflows/docker.12.yaml
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
name: debian-12
|
||||
|
||||
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.12
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm64
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
provenance: false
|
||||
build-args: |
|
||||
IMAGE_NAME=debian
|
||||
IMAGE_VERSION=bookworm
|
||||
IMAGE_REPO=${{ github.repository }}
|
||||
PHP_SERVER=debian
|
||||
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
PULL_URL=debian
|
||||
DISTRO_VERSION=${IMAGE_VERSION}
|
||||
CONTAINER_VERSION=12
|
||||
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=bookworm
|
||||
org.opencontainers.image.revision=${{ github.sha }}
|
||||
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}:bookworm
|
||||
85
.github/workflows/docker.13.yaml
vendored
Normal file
85
.github/workflows/docker.13.yaml
vendored
Normal file
@@ -0,0 +1,85 @@
|
||||
name: debian-13
|
||||
|
||||
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.13
|
||||
platforms: |
|
||||
linux/amd64
|
||||
linux/arm64
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
provenance: false
|
||||
build-args: |
|
||||
IMAGE_NAME=debian
|
||||
IMAGE_VERSION=trixie
|
||||
IMAGE_REPO=${{ github.repository }}
|
||||
PHP_SERVER=debian
|
||||
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
PULL_URL=debian
|
||||
DISTRO_VERSION=${IMAGE_VERSION}
|
||||
CONTAINER_VERSION=13
|
||||
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=trixie
|
||||
org.opencontainers.image.revision=${{ github.sha }}
|
||||
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}:trixie
|
||||
86
.github/workflows/docker.yaml
vendored
Normal file
86
.github/workflows/docker.yaml
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
name: debian
|
||||
|
||||
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=debian
|
||||
IMAGE_VERSION=latest
|
||||
IMAGE_REPO=${{ github.repository }}
|
||||
PHP_SERVER=debian
|
||||
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
|
||||
PULL_URL=debian
|
||||
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 }}
|
||||
@@ -71,7 +71,7 @@ ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}"
|
||||
USER ${USER}
|
||||
WORKDIR /root
|
||||
|
||||
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
||||
COPY ./dockerfs/usr/local/bin/. /usr/local/bin/
|
||||
|
||||
RUN set -e; \
|
||||
echo "Updating the system and ensuring bash is installed"; \
|
||||
@@ -117,7 +117,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; \
|
||||
echo ""
|
||||
|
||||
COPY ./rootfs/. /
|
||||
COPY ./dockerfs/. /
|
||||
COPY ./Dockerfile /root/docker/Dockerfile
|
||||
|
||||
RUN echo "Updating system files "; \
|
||||
|
||||
@@ -69,7 +69,7 @@ ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}"
|
||||
USER ${USER}
|
||||
WORKDIR /root
|
||||
|
||||
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
||||
COPY ./dockerfs/usr/local/bin/. /usr/local/bin/
|
||||
|
||||
RUN set -e; \
|
||||
echo "Setting up prerequisites"; \
|
||||
@@ -113,7 +113,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; \
|
||||
echo ""
|
||||
|
||||
COPY ./rootfs/. /
|
||||
COPY ./dockerfs/. /
|
||||
COPY ./Dockerfile.10 /root/docker/Dockerfile
|
||||
|
||||
RUN echo "Updating system files "; \
|
||||
|
||||
@@ -69,7 +69,7 @@ ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}"
|
||||
USER ${USER}
|
||||
WORKDIR /root
|
||||
|
||||
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
||||
COPY ./dockerfs/usr/local/bin/. /usr/local/bin/
|
||||
|
||||
RUN set -e; \
|
||||
echo "Setting up prerequisites"; \
|
||||
@@ -111,7 +111,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; \
|
||||
echo ""
|
||||
|
||||
COPY ./rootfs/. /
|
||||
COPY ./dockerfs/. /
|
||||
COPY ./Dockerfile.11 /root/docker/Dockerfile
|
||||
|
||||
RUN echo "Updating system files "; \
|
||||
|
||||
@@ -69,7 +69,7 @@ ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}"
|
||||
USER ${USER}
|
||||
WORKDIR /root
|
||||
|
||||
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
||||
COPY ./dockerfs/usr/local/bin/. /usr/local/bin/
|
||||
|
||||
RUN set -e; \
|
||||
echo "Setting up prerequisites"; \
|
||||
@@ -111,7 +111,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; \
|
||||
echo ""
|
||||
|
||||
COPY ./rootfs/. /
|
||||
COPY ./dockerfs/. /
|
||||
COPY ./Dockerfile.12 /root/docker/Dockerfile
|
||||
|
||||
RUN echo "Updating system files "; \
|
||||
|
||||
@@ -69,7 +69,7 @@ ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}"
|
||||
USER ${USER}
|
||||
WORKDIR /root
|
||||
|
||||
COPY ./rootfs/usr/local/bin/. /usr/local/bin/
|
||||
COPY ./dockerfs/usr/local/bin/. /usr/local/bin/
|
||||
|
||||
RUN set -e; \
|
||||
echo "Setting up prerequisites"; \
|
||||
@@ -111,7 +111,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; \
|
||||
echo ""
|
||||
|
||||
COPY ./rootfs/. /
|
||||
COPY ./dockerfs/. /
|
||||
COPY ./Dockerfile.13 /root/docker/Dockerfile
|
||||
|
||||
RUN echo "Updating system files "; \
|
||||
|
||||
@@ -21,7 +21,7 @@ dockermgr update os debian
|
||||
```shell
|
||||
mkdir -p "/var/lib/srv/root/docker/casjaysdev/debian/latest"
|
||||
git clone "https://github.com/dockermgr/debian" "$HOME/.local/share/CasjaysDev/dockermgr/debian"
|
||||
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/debian/rootfs/." "/var/lib/srv/root/docker/casjaysdev/debian/latest/"
|
||||
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/debian/dockerfs/." "/var/lib/srv/root/docker/casjaysdev/debian/latest/"
|
||||
docker run -d \
|
||||
--restart always \
|
||||
--privileged \
|
||||
|
||||
Reference in New Issue
Block a user