🗃️ Committing everything that changed 🗃️

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
This commit is contained in:
casjay 2024-10-12 16:21:01 -04:00
parent 4bb782cd47
commit 0205d1a786
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145
11 changed files with 49 additions and 58 deletions

View File

@ -4,7 +4,7 @@
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
# @@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
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -4,7 +4,7 @@
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
# @@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 <docker-admin@casjaysdev.pro>"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# 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"

View File

@ -4,7 +4,7 @@
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
# @@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 <docker-admin@casjaysdev.pro>"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# 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"

View File

@ -4,7 +4,7 @@
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
# @@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 <docker-admin@casjaysdev.pro>"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# 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"

View File

@ -4,7 +4,7 @@
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
# @@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 <docker-admin@casjaysdev.pro>"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# 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"

View File

@ -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}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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) ⛵