From 0205d1a786e9604d89395c50bbe49706a0590013 Mon Sep 17 00:00:00 2001 From: casjay Date: Sat, 12 Oct 2024 16:21:01 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dockerfile Dockerfile.10 Dockerfile.11 Dockerfile.12 Dockerfile.13 .env.scripts .env.scripts.10 .env.scripts.11 .env.scripts.12 .env.scripts.13 README.md --- .env.scripts | 2 +- .env.scripts.10 | 6 +++--- .env.scripts.11 | 6 +++--- .env.scripts.12 | 6 +++--- .env.scripts.13 | 6 +++--- Dockerfile | 2 +- Dockerfile.10 | 10 +++++----- Dockerfile.11 | 10 +++++----- Dockerfile.12 | 10 +++++----- Dockerfile.13 | 10 +++++----- README.md | 39 +++++++++++++++------------------------ 11 files changed, 49 insertions(+), 58 deletions(-) diff --git a/.env.scripts b/.env.scripts index 9f4e074..ef9aff4 100644 --- a/.env.scripts +++ b/.env.scripts @@ -4,7 +4,7 @@ # @@Contact : CasjaysDev # @@License : MIT # @@Copyright : Copyright 2024 CasjaysDev -# @@Created : Sun Aug 11 10:51:02 AM EDT 2024 +# @@Created : Sat Oct 12 10:51:02 AM EDT 2024 # @@File : .env.scripts # @@Description : Variables for gen-dockerfile and buildx scripts # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.env.scripts.10 b/.env.scripts.10 index 8043c3b..a49f418 100644 --- a/.env.scripts.10 +++ b/.env.scripts.10 @@ -4,7 +4,7 @@ # @@Contact : CasjaysDev # @@License : MIT # @@Copyright : Copyright 2024 CasjaysDev -# @@Created : Sun Aug 11 10:51:02 AM EDT 2024 +# @@Created : Sat Oct 12 10:51:02 AM EDT 2024 # @@File : .env.scripts.10 # @@Description : Variables for gen-dockerfile and buildx scripts # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -20,8 +20,8 @@ ENV_AUTHOR="CasjaysDev" ENV_MAINTAINER="CasjaysDev " # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # REPO info -ENV_GIT_REPO_URL="https://github.com/casjaysdevdocker/debian" -ENV_REGISTRY_URL="https://hub.docker.com/r/casjaysdevdocker/debian" +ENV_GIT_REPO_URL="https://github.com/dockersrc/debian" +ENV_REGISTRY_URL="https://hub.docker.com/r/casjaysdev/debian" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Push image info ENV_IMAGE_PUSH="casjaysdev/debian" diff --git a/.env.scripts.11 b/.env.scripts.11 index 8ad21fb..da7dd95 100644 --- a/.env.scripts.11 +++ b/.env.scripts.11 @@ -4,7 +4,7 @@ # @@Contact : CasjaysDev # @@License : MIT # @@Copyright : Copyright 2024 CasjaysDev -# @@Created : Sun Aug 11 10:51:03 AM EDT 2024 +# @@Created : Sat Oct 12 10:51:03 AM EDT 2024 # @@File : .env.scripts.11 # @@Description : Variables for gen-dockerfile and buildx scripts # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -20,8 +20,8 @@ ENV_AUTHOR="CasjaysDev" ENV_MAINTAINER="CasjaysDev " # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # REPO info -ENV_GIT_REPO_URL="https://github.com/casjaysdevdocker/debian" -ENV_REGISTRY_URL="https://hub.docker.com/r/casjaysdevdocker/debian" +ENV_GIT_REPO_URL="https://github.com/dockersrc/debian" +ENV_REGISTRY_URL="https://hub.docker.com/r/casjaysdev/debian" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Push image info ENV_IMAGE_PUSH="casjaysdev/debian" diff --git a/.env.scripts.12 b/.env.scripts.12 index 6c7a587..01ef0de 100644 --- a/.env.scripts.12 +++ b/.env.scripts.12 @@ -4,7 +4,7 @@ # @@Contact : CasjaysDev # @@License : MIT # @@Copyright : Copyright 2024 CasjaysDev -# @@Created : Sun Aug 11 10:51:03 AM EDT 2024 +# @@Created : Sat Oct 12 10:51:03 AM EDT 2024 # @@File : .env.scripts.12 # @@Description : Variables for gen-dockerfile and buildx scripts # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -20,8 +20,8 @@ ENV_AUTHOR="CasjaysDev" ENV_MAINTAINER="CasjaysDev " # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # REPO info -ENV_GIT_REPO_URL="https://github.com/casjaysdevdocker/debian" -ENV_REGISTRY_URL="https://hub.docker.com/r/casjaysdevdocker/debian" +ENV_GIT_REPO_URL="https://github.com/dockersrc/debian" +ENV_REGISTRY_URL="https://hub.docker.com/r/casjaysdev/debian" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Push image info ENV_IMAGE_PUSH="casjaysdev/debian" diff --git a/.env.scripts.13 b/.env.scripts.13 index 6249c6f..55f27d5 100644 --- a/.env.scripts.13 +++ b/.env.scripts.13 @@ -4,7 +4,7 @@ # @@Contact : CasjaysDev # @@License : MIT # @@Copyright : Copyright 2024 CasjaysDev -# @@Created : Sun Aug 11 10:51:03 AM EDT 2024 +# @@Created : Sat Oct 12 10:51:03 AM EDT 2024 # @@File : .env.scripts.13 # @@Description : Variables for gen-dockerfile and buildx scripts # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -20,8 +20,8 @@ ENV_AUTHOR="CasjaysDev" ENV_MAINTAINER="CasjaysDev " # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # REPO info -ENV_GIT_REPO_URL="https://github.com/casjaysdevdocker/debian" -ENV_REGISTRY_URL="https://hub.docker.com/r/casjaysdevdocker/debian" +ENV_GIT_REPO_URL="https://github.com/dockersrc/debian" +ENV_REGISTRY_URL="https://hub.docker.com/r/casjaysdev/debian" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Push image info ENV_IMAGE_PUSH="casjaysdev/debian" diff --git a/Dockerfile b/Dockerfile index 4b0aba3..ebd2d69 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,7 +63,7 @@ ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" ENV TERM="xterm-256color" -ENV HOSTNAME="casjaysdevdocker-debian" +ENV HOSTNAME="casjaysdev-debian" ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}" USER ${USER} diff --git a/Dockerfile.10 b/Dockerfile.10 index 84bc22c..9c4a833 100644 --- a/Dockerfile.10 +++ b/Dockerfile.10 @@ -63,7 +63,7 @@ ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" ENV TERM="xterm-256color" -ENV HOSTNAME="casjaysdevdocker-debian" +ENV HOSTNAME="casjaysdev-debian" ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}" USER ${USER} @@ -221,12 +221,12 @@ LABEL org.opencontainers.image.license="${LICENSE}" LABEL org.opencontainers.image.build-date="${BUILD_DATE}" LABEL org.opencontainers.image.version="${BUILD_VERSION}" LABEL org.opencontainers.image.schema-version="${BUILD_VERSION}" -LABEL org.opencontainers.image.url="https://hub.docker.com/r/casjaysdevdocker/debian" -LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdevdocker/debian" +LABEL org.opencontainers.image.url="https://hub.docker.com/r/casjaysdev/debian" +LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdev/debian" LABEL org.opencontainers.image.vcs-type="Git" LABEL org.opencontainers.image.vcs-ref="${BUILD_VERSION}" -LABEL org.opencontainers.image.vcs-url="https://github.com/casjaysdevdocker/debian" -LABEL org.opencontainers.image.documentation="https://github.com/casjaysdevdocker/debian" +LABEL org.opencontainers.image.vcs-url="https://github.com/dockersrc/debian" +LABEL org.opencontainers.image.documentation="https://github.com/dockersrc/debian" LABEL com.github.containers.toolbox="false" ENV ENV=~/.bashrc diff --git a/Dockerfile.11 b/Dockerfile.11 index 3e0ca71..d0436ed 100644 --- a/Dockerfile.11 +++ b/Dockerfile.11 @@ -63,7 +63,7 @@ ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" ENV TERM="xterm-256color" -ENV HOSTNAME="casjaysdevdocker-debian" +ENV HOSTNAME="casjaysdev-debian" ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}" USER ${USER} @@ -221,12 +221,12 @@ LABEL org.opencontainers.image.license="${LICENSE}" LABEL org.opencontainers.image.build-date="${BUILD_DATE}" LABEL org.opencontainers.image.version="${BUILD_VERSION}" LABEL org.opencontainers.image.schema-version="${BUILD_VERSION}" -LABEL org.opencontainers.image.url="https://hub.docker.com/r/casjaysdevdocker/debian" -LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdevdocker/debian" +LABEL org.opencontainers.image.url="https://hub.docker.com/r/casjaysdev/debian" +LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdev/debian" LABEL org.opencontainers.image.vcs-type="Git" LABEL org.opencontainers.image.vcs-ref="${BUILD_VERSION}" -LABEL org.opencontainers.image.vcs-url="https://github.com/casjaysdevdocker/debian" -LABEL org.opencontainers.image.documentation="https://github.com/casjaysdevdocker/debian" +LABEL org.opencontainers.image.vcs-url="https://github.com/dockersrc/debian" +LABEL org.opencontainers.image.documentation="https://github.com/dockersrc/debian" LABEL com.github.containers.toolbox="false" ENV ENV=~/.bashrc diff --git a/Dockerfile.12 b/Dockerfile.12 index dc8882b..72bc29a 100644 --- a/Dockerfile.12 +++ b/Dockerfile.12 @@ -63,7 +63,7 @@ ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" ENV TERM="xterm-256color" -ENV HOSTNAME="casjaysdevdocker-debian" +ENV HOSTNAME="casjaysdev-debian" ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}" USER ${USER} @@ -221,12 +221,12 @@ LABEL org.opencontainers.image.license="${LICENSE}" LABEL org.opencontainers.image.build-date="${BUILD_DATE}" LABEL org.opencontainers.image.version="${BUILD_VERSION}" LABEL org.opencontainers.image.schema-version="${BUILD_VERSION}" -LABEL org.opencontainers.image.url="https://hub.docker.com/r/casjaysdevdocker/debian" -LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdevdocker/debian" +LABEL org.opencontainers.image.url="https://hub.docker.com/r/casjaysdev/debian" +LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdev/debian" LABEL org.opencontainers.image.vcs-type="Git" LABEL org.opencontainers.image.vcs-ref="${BUILD_VERSION}" -LABEL org.opencontainers.image.vcs-url="https://github.com/casjaysdevdocker/debian" -LABEL org.opencontainers.image.documentation="https://github.com/casjaysdevdocker/debian" +LABEL org.opencontainers.image.vcs-url="https://github.com/dockersrc/debian" +LABEL org.opencontainers.image.documentation="https://github.com/dockersrc/debian" LABEL com.github.containers.toolbox="false" ENV ENV=~/.bashrc diff --git a/Dockerfile.13 b/Dockerfile.13 index 9216d55..1fb8617 100644 --- a/Dockerfile.13 +++ b/Dockerfile.13 @@ -63,7 +63,7 @@ ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" ENV TERM="xterm-256color" -ENV HOSTNAME="casjaysdevdocker-debian" +ENV HOSTNAME="casjaysdev-debian" ENV DEBIAN_FRONTEND="${DEBIAN_FRONTEND}" USER ${USER} @@ -221,12 +221,12 @@ LABEL org.opencontainers.image.license="${LICENSE}" LABEL org.opencontainers.image.build-date="${BUILD_DATE}" LABEL org.opencontainers.image.version="${BUILD_VERSION}" LABEL org.opencontainers.image.schema-version="${BUILD_VERSION}" -LABEL org.opencontainers.image.url="https://hub.docker.com/r/casjaysdevdocker/debian" -LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdevdocker/debian" +LABEL org.opencontainers.image.url="https://hub.docker.com/r/casjaysdev/debian" +LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdev/debian" LABEL org.opencontainers.image.vcs-type="Git" LABEL org.opencontainers.image.vcs-ref="${BUILD_VERSION}" -LABEL org.opencontainers.image.vcs-url="https://github.com/casjaysdevdocker/debian" -LABEL org.opencontainers.image.documentation="https://github.com/casjaysdevdocker/debian" +LABEL org.opencontainers.image.vcs-url="https://github.com/dockersrc/debian" +LABEL org.opencontainers.image.documentation="https://github.com/dockersrc/debian" LABEL com.github.containers.toolbox="false" ENV ENV=~/.bashrc diff --git a/README.md b/README.md index a6b6db9..ef82b70 100644 --- a/README.md +++ b/README.md @@ -13,25 +13,24 @@ debian README ## Automatic install/update ```shell -dockermgr update debian +dockermgr update os debian ``` ## Install and run container ```shell -mkdir -p "$HOME/.local/share/srv/docker/debian/rootfs" +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/." "$HOME/.local/share/srv/docker/debian/rootfs/" +cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/debian/rootfs/." "/var/lib/srv/root/docker/casjaysdev/debian/latest/" docker run -d \ --restart always \ --privileged \ ---name casjaysdevdocker-debian \ +--name casjaysdev-debian-latest \ --hostname debian \ -e TZ=${TIMEZONE:-America/New_York} \ --v "$HOME/.local/share/srv/docker/casjaysdevdocker-debian/rootfs/data:/data:z" \ --v "$HOME/.local/share/srv/docker/casjaysdevdocker-debian/rootfs/config:/config:z" \ --p 80:80 \ -casjaysdevdocker/debian:latest +-v "/var/lib/srv/root/docker/casjaysdev/debian/latest/data:/data:z" \ +-v "/var/lib/srv/root/docker/casjaysdev/debian/latest/config:/config:z" \ +casjaysdev/debian:latest ``` ## via docker-compose @@ -40,39 +39,31 @@ casjaysdevdocker/debian:latest version: "2" services: ProjectName: - image: casjaysdevdocker/debian - container_name: casjaysdevdocker-debian + image: casjaysdev/debian + container_name: casjaysdev-debian-latest environment: - TZ=America/New_York - HOSTNAME=debian volumes: - - "$HOME/.local/share/srv/docker/casjaysdevdocker-debian/rootfs/data:/data:z" - - "$HOME/.local/share/srv/docker/casjaysdevdocker-debian/rootfs/config:/config:z" - ports: - - 80:80 + - "/var/lib/srv/root/docker/casjaysdev/debian/latest/data:/data:z" + - "/var/lib/srv/root/docker/casjaysdev/debian/latest/config:/config:z" restart: always ``` ## Get source files ```shell -dockermgr download src casjaysdevdocker/debian -``` - -OR - -```shell -git clone "https://github.com/casjaysdevdocker/debian" "$HOME/Projects/github/casjaysdevdocker/debian" +dockermgr download src os debian ``` ## Build container ```shell -cd "$HOME/Projects/github/casjaysdevdocker/debian" -buildx +git clone "https://github.com/dockersrc/debian" "$HOME/Projects/github/dockersrc/debian" +cd "$HOME/Projects/github/dockersrc/debian" && buildx all ``` ## Authors 🤖 casjay: [Github](https://github.com/casjay) 🤖 -⛵ casjaysdevdocker: [Github](https://github.com/casjaysdevdocker) [Docker](https://hub.docker.com/u/casjaysdevdocker) ⛵ +⛵ casjaysdevdocker: [Github](https://github.com/dockersrc) [Docker](https://hub.docker.com/u/casjaysdevdocker) ⛵