diff --git a/.env.scripts b/.env.scripts index 7e4d347..57db1d9 100644 --- a/.env.scripts +++ b/.env.scripts @@ -4,7 +4,7 @@ # @@Contact : CasjaysDev # @@License : MIT # @@Copyright : Copyright 2024 CasjaysDev -# @@Created : Sun Aug 11 10:28:27 AM EDT 2024 +# @@Created : Sat Oct 12 10:28:27 AM EDT 2024 # @@File : .env.scripts # @@Description : Variables for gen-dockerfile and buildx scripts # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.env.scripts.8 b/.env.scripts.8 index 6bb1366..5fdbc82 100644 --- a/.env.scripts.8 +++ b/.env.scripts.8 @@ -4,7 +4,7 @@ # @@Contact : CasjaysDev # @@License : MIT # @@Copyright : Copyright 2024 CasjaysDev -# @@Created : Sun Aug 11 10:28:28 AM EDT 2024 +# @@Created : Sat Oct 12 10:28:28 AM EDT 2024 # @@File : .env.scripts.8 # @@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/almalinux" -ENV_REGISTRY_URL="https://hub.docker.com/r/casjaysdevdocker/almalinux" +ENV_GIT_REPO_URL="https://github.com/dockersrc/almalinux" +ENV_REGISTRY_URL="https://hub.docker.com/r/casjaysdev/almalinux" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Push image info ENV_IMAGE_PUSH="casjaysdev/almalinux" diff --git a/.env.scripts.8-dev b/.env.scripts.8-dev index 3a32b39..889a25e 100644 --- a/.env.scripts.8-dev +++ b/.env.scripts.8-dev @@ -4,7 +4,7 @@ # @@Contact : CasjaysDev # @@License : MIT # @@Copyright : Copyright 2024 CasjaysDev -# @@Created : Sun Aug 11 10:28:28 AM EDT 2024 +# @@Created : Sat Oct 12 10:28:28 AM EDT 2024 # @@File : .env.scripts.8 # @@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/almalinux" -ENV_REGISTRY_URL="https://hub.docker.com/r/casjaysdevdocker/almalinux" +ENV_GIT_REPO_URL="https://github.com/dockersrc/almalinux" +ENV_REGISTRY_URL="https://hub.docker.com/r/casjaysdev/almalinux" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Push image info ENV_IMAGE_PUSH="casjaysdev/almalinux" diff --git a/.env.scripts.9 b/.env.scripts.9 index 305082d..5974406 100644 --- a/.env.scripts.9 +++ b/.env.scripts.9 @@ -4,7 +4,7 @@ # @@Contact : CasjaysDev # @@License : MIT # @@Copyright : Copyright 2024 CasjaysDev -# @@Created : Sun Aug 11 10:28:28 AM EDT 2024 +# @@Created : Sat Oct 12 10:28:28 AM EDT 2024 # @@File : .env.scripts.9 # @@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/almalinux" -ENV_REGISTRY_URL="https://hub.docker.com/r/casjaysdevdocker/almalinux" +ENV_GIT_REPO_URL="https://github.com/dockersrc/almalinux" +ENV_REGISTRY_URL="https://hub.docker.com/r/casjaysdev/almalinux" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Push image info ENV_IMAGE_PUSH="casjaysdev/almalinux" diff --git a/.env.scripts.9-dev b/.env.scripts.9-dev index 0b96a2a..172353c 100644 --- a/.env.scripts.9-dev +++ b/.env.scripts.9-dev @@ -4,7 +4,7 @@ # @@Contact : CasjaysDev # @@License : MIT # @@Copyright : Copyright 2024 CasjaysDev -# @@Created : Sun Aug 11 10:28:28 AM EDT 2024 +# @@Created : Sat Oct 12 10:28:28 AM EDT 2024 # @@File : .env.scripts.9 # @@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/almalinux" -ENV_REGISTRY_URL="https://hub.docker.com/r/casjaysdevdocker/almalinux" +ENV_GIT_REPO_URL="https://github.com/dockersrc/almalinux" +ENV_REGISTRY_URL="https://hub.docker.com/r/casjaysdev/almalinux" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Push image info ENV_IMAGE_PUSH="casjaysdev/almalinux" diff --git a/Dockerfile b/Dockerfile index 4d0fbef..04a0fc6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,7 +61,7 @@ ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" ENV TERM="xterm-256color" -ENV HOSTNAME="casjaysdevdocker-almalinux" +ENV HOSTNAME="casjaysdev-almalinux" USER ${USER} WORKDIR /root diff --git a/Dockerfile.8 b/Dockerfile.8 index 1b51bbb..13e4ef2 100644 --- a/Dockerfile.8 +++ b/Dockerfile.8 @@ -61,7 +61,7 @@ ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" ENV TERM="xterm-256color" -ENV HOSTNAME="casjaysdevdocker-almalinux" +ENV HOSTNAME="casjaysdev-almalinux" USER ${USER} WORKDIR /root @@ -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/almalinux" -LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdevdocker/almalinux" +LABEL org.opencontainers.image.url="https://hub.docker.com/r/casjaysdev/almalinux" +LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdev/almalinux" 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/almalinux" -LABEL org.opencontainers.image.documentation="https://github.com/casjaysdevdocker/almalinux" +LABEL org.opencontainers.image.vcs-url="https://github.com/dockersrc/almalinux" +LABEL org.opencontainers.image.documentation="https://github.com/dockersrc/almalinux" LABEL com.github.containers.toolbox="false" ENV ENV=~/.bashrc diff --git a/Dockerfile.8-dev b/Dockerfile.8-dev index 91f93b5..bdfcc09 100644 --- a/Dockerfile.8-dev +++ b/Dockerfile.8-dev @@ -61,7 +61,7 @@ ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" ENV TERM="xterm-256color" -ENV HOSTNAME="casjaysdevdocker-almalinux" +ENV HOSTNAME="casjaysdev-almalinux" USER ${USER} WORKDIR /root @@ -230,12 +230,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/almalinux" -LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdevdocker/almalinux" +LABEL org.opencontainers.image.url="https://hub.docker.com/r/casjaysdev/almalinux" +LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdev/almalinux" 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/almalinux" -LABEL org.opencontainers.image.documentation="https://github.com/casjaysdevdocker/almalinux" +LABEL org.opencontainers.image.vcs-url="https://github.com/dockersrc/almalinux" +LABEL org.opencontainers.image.documentation="https://github.com/dockersrc/almalinux" LABEL com.github.containers.toolbox="false" ENV ENV=~/.bashrc diff --git a/Dockerfile.9 b/Dockerfile.9 index e52e08e..8152cbe 100644 --- a/Dockerfile.9 +++ b/Dockerfile.9 @@ -61,7 +61,7 @@ ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" ENV TERM="xterm-256color" -ENV HOSTNAME="casjaysdevdocker-almalinux" +ENV HOSTNAME="casjaysdev-almalinux" USER ${USER} WORKDIR /root @@ -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/almalinux" -LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdevdocker/almalinux" +LABEL org.opencontainers.image.url="https://hub.docker.com/r/casjaysdev/almalinux" +LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdev/almalinux" 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/almalinux" -LABEL org.opencontainers.image.documentation="https://github.com/casjaysdevdocker/almalinux" +LABEL org.opencontainers.image.vcs-url="https://github.com/dockersrc/almalinux" +LABEL org.opencontainers.image.documentation="https://github.com/dockersrc/almalinux" LABEL com.github.containers.toolbox="false" ENV ENV=~/.bashrc diff --git a/Dockerfile.9-dev b/Dockerfile.9-dev index dcf11b6..7fa5399 100644 --- a/Dockerfile.9-dev +++ b/Dockerfile.9-dev @@ -61,7 +61,7 @@ ENV TZ="${TIMEZONE}" ENV TIMEZONE="${TZ}" ENV LANG="${LANGUAGE}" ENV TERM="xterm-256color" -ENV HOSTNAME="casjaysdevdocker-almalinux" +ENV HOSTNAME="casjaysdev-almalinux" USER ${USER} WORKDIR /root @@ -230,12 +230,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/almalinux" -LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdevdocker/almalinux" +LABEL org.opencontainers.image.url="https://hub.docker.com/r/casjaysdev/almalinux" +LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdev/almalinux" 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/almalinux" -LABEL org.opencontainers.image.documentation="https://github.com/casjaysdevdocker/almalinux" +LABEL org.opencontainers.image.vcs-url="https://github.com/dockersrc/almalinux" +LABEL org.opencontainers.image.documentation="https://github.com/dockersrc/almalinux" LABEL com.github.containers.toolbox="false" ENV ENV=~/.bashrc diff --git a/README.md b/README.md index f73fec4..675cfec 100644 --- a/README.md +++ b/README.md @@ -13,25 +13,24 @@ almalinux README ## Automatic install/update ```shell -dockermgr update almalinux +dockermgr update os almalinux ``` ## Install and run container ```shell -mkdir -p "$HOME/.local/share/srv/docker/almalinux/rootfs" +mkdir -p "/var/lib/srv/root/docker/casjaysdev/almalinux/latest" git clone "https://github.com/dockermgr/almalinux" "$HOME/.local/share/CasjaysDev/dockermgr/almalinux" -cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/almalinux/rootfs/." "$HOME/.local/share/srv/docker/almalinux/rootfs/" +cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/almalinux/rootfs/." "/var/lib/srv/root/docker/casjaysdev/almalinux/latest/" docker run -d \ --restart always \ --privileged \ ---name casjaysdevdocker-almalinux \ +--name casjaysdev-almalinux-latest \ --hostname almalinux \ -e TZ=${TIMEZONE:-America/New_York} \ --v "$HOME/.local/share/srv/docker/casjaysdevdocker-almalinux/rootfs/data:/data:z" \ --v "$HOME/.local/share/srv/docker/casjaysdevdocker-almalinux/rootfs/config:/config:z" \ --p 80:80 \ -casjaysdevdocker/almalinux:latest +-v "/var/lib/srv/root/docker/casjaysdev/almalinux/latest/data:/data:z" \ +-v "/var/lib/srv/root/docker/casjaysdev/almalinux/latest/config:/config:z" \ +casjaysdev/almalinux:latest ``` ## via docker-compose @@ -40,39 +39,31 @@ casjaysdevdocker/almalinux:latest version: "2" services: ProjectName: - image: casjaysdevdocker/almalinux - container_name: casjaysdevdocker-almalinux + image: casjaysdev/almalinux + container_name: casjaysdev-almalinux-latest environment: - TZ=America/New_York - HOSTNAME=almalinux volumes: - - "$HOME/.local/share/srv/docker/casjaysdevdocker-almalinux/rootfs/data:/data:z" - - "$HOME/.local/share/srv/docker/casjaysdevdocker-almalinux/rootfs/config:/config:z" - ports: - - 80:80 + - "/var/lib/srv/root/docker/casjaysdev/almalinux/latest/data:/data:z" + - "/var/lib/srv/root/docker/casjaysdev/almalinux/latest/config:/config:z" restart: always ``` ## Get source files ```shell -dockermgr download src casjaysdevdocker/almalinux -``` - -OR - -```shell -git clone "https://github.com/casjaysdevdocker/almalinux" "$HOME/Projects/github/casjaysdevdocker/almalinux" +dockermgr download src os almalinux ``` ## Build container ```shell -cd "$HOME/Projects/github/casjaysdevdocker/almalinux" -buildx +git clone "https://github.com/dockersrc/almalinux" "$HOME/Projects/github/dockersrc/almalinux" +cd "$HOME/Projects/github/dockersrc/almalinux" && 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) ⛵