mirror of
				https://github.com/dockersrc/archlinux
				synced 2025-11-04 01:02:09 -05:00 
			
		
		
		
	🗃️ Committing everything that changed 🗃️
Dockerfile .env.scripts README.md
This commit is contained in:
		@@ -4,7 +4,7 @@
 | 
			
		||||
# @@Contact          :  CasjaysDev <docker-admin@casjaysdev.pro>
 | 
			
		||||
# @@License          :  MIT
 | 
			
		||||
# @@Copyright        :  Copyright 2024 CasjaysDev
 | 
			
		||||
# @@Created          :  Sun Aug 11 10:50:58 AM EDT 2024
 | 
			
		||||
# @@Created          :  Sat Oct 12 10:50:58 AM EDT 2024
 | 
			
		||||
# @@File             :  .env.scripts
 | 
			
		||||
# @@Description      :  Variables for gen-dockerfile and buildx scripts
 | 
			
		||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 | 
			
		||||
 
 | 
			
		||||
@@ -231,12 +231,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/archlinux"
 | 
			
		||||
LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdevdocker/archlinux"
 | 
			
		||||
LABEL org.opencontainers.image.url="https://hub.docker.com/r/casjaysdev/archlinux"
 | 
			
		||||
LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdev/archlinux"
 | 
			
		||||
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/archlinux"
 | 
			
		||||
LABEL org.opencontainers.image.documentation="https://github.com/casjaysdevdocker/archlinux"
 | 
			
		||||
LABEL org.opencontainers.image.vcs-url="https://github.com/dockersrc/archlinux"
 | 
			
		||||
LABEL org.opencontainers.image.documentation="https://github.com/dockersrc/archlinux"
 | 
			
		||||
LABEL com.github.containers.toolbox="false"
 | 
			
		||||
 | 
			
		||||
ENV ENV=~/.bashrc
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										39
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										39
									
								
								README.md
									
									
									
									
									
								
							@@ -13,25 +13,24 @@ archlinux README
 | 
			
		||||
## Automatic install/update  
 | 
			
		||||
  
 | 
			
		||||
```shell
 | 
			
		||||
dockermgr update archlinux
 | 
			
		||||
dockermgr update os archlinux
 | 
			
		||||
```
 | 
			
		||||
  
 | 
			
		||||
## Install and run container
 | 
			
		||||
  
 | 
			
		||||
```shell
 | 
			
		||||
mkdir -p "$HOME/.local/share/srv/docker/archlinux/rootfs"
 | 
			
		||||
mkdir -p "/var/lib/srv/root/docker/casjaysdev/archlinux/latest"
 | 
			
		||||
git clone "https://github.com/dockermgr/archlinux" "$HOME/.local/share/CasjaysDev/dockermgr/archlinux"
 | 
			
		||||
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/archlinux/rootfs/." "$HOME/.local/share/srv/docker/archlinux/rootfs/"
 | 
			
		||||
cp -Rfva "$HOME/.local/share/CasjaysDev/dockermgr/archlinux/rootfs/." "/var/lib/srv/root/docker/casjaysdev/archlinux/latest/"
 | 
			
		||||
docker run -d \
 | 
			
		||||
--restart always \
 | 
			
		||||
--privileged \
 | 
			
		||||
--name casjaysdevdocker-archlinux \
 | 
			
		||||
--name casjaysdev-archlinux-latest \
 | 
			
		||||
--hostname archlinux \
 | 
			
		||||
-e TZ=${TIMEZONE:-America/New_York} \
 | 
			
		||||
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-archlinux/rootfs/data:/data:z" \
 | 
			
		||||
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-archlinux/rootfs/config:/config:z" \
 | 
			
		||||
-p 80:80 \
 | 
			
		||||
casjaysdevdocker/archlinux:latest
 | 
			
		||||
-v "/var/lib/srv/root/docker/casjaysdev/archlinux/latest/data:/data:z" \
 | 
			
		||||
-v "/var/lib/srv/root/docker/casjaysdev/archlinux/latest/config:/config:z" \
 | 
			
		||||
casjaysdev/archlinux:latest
 | 
			
		||||
```
 | 
			
		||||
  
 | 
			
		||||
## via docker-compose  
 | 
			
		||||
@@ -40,39 +39,31 @@ casjaysdevdocker/archlinux:latest
 | 
			
		||||
version: "2"
 | 
			
		||||
services:
 | 
			
		||||
  ProjectName:
 | 
			
		||||
    image: casjaysdevdocker/archlinux
 | 
			
		||||
    container_name: casjaysdevdocker-archlinux
 | 
			
		||||
    image: casjaysdev/archlinux
 | 
			
		||||
    container_name: casjaysdev-archlinux-latest
 | 
			
		||||
    environment:
 | 
			
		||||
      - TZ=America/New_York
 | 
			
		||||
      - HOSTNAME=archlinux
 | 
			
		||||
    volumes:
 | 
			
		||||
      - "$HOME/.local/share/srv/docker/casjaysdevdocker-archlinux/rootfs/data:/data:z"
 | 
			
		||||
      - "$HOME/.local/share/srv/docker/casjaysdevdocker-archlinux/rootfs/config:/config:z"
 | 
			
		||||
    ports:
 | 
			
		||||
      - 80:80
 | 
			
		||||
      - "/var/lib/srv/root/docker/casjaysdev/archlinux/latest/data:/data:z"
 | 
			
		||||
      - "/var/lib/srv/root/docker/casjaysdev/archlinux/latest/config:/config:z"
 | 
			
		||||
    restart: always
 | 
			
		||||
```
 | 
			
		||||
  
 | 
			
		||||
## Get source files  
 | 
			
		||||
  
 | 
			
		||||
```shell
 | 
			
		||||
dockermgr download src casjaysdevdocker/archlinux
 | 
			
		||||
```
 | 
			
		||||
  
 | 
			
		||||
OR
 | 
			
		||||
  
 | 
			
		||||
```shell
 | 
			
		||||
git clone "https://github.com/casjaysdevdocker/archlinux" "$HOME/Projects/github/casjaysdevdocker/archlinux"
 | 
			
		||||
dockermgr download src os archlinux
 | 
			
		||||
```
 | 
			
		||||
  
 | 
			
		||||
## Build container  
 | 
			
		||||
  
 | 
			
		||||
```shell
 | 
			
		||||
cd "$HOME/Projects/github/casjaysdevdocker/archlinux"
 | 
			
		||||
buildx 
 | 
			
		||||
git clone "https://github.com/dockersrc/archlinux" "$HOME/Projects/github/dockersrc/archlinux"
 | 
			
		||||
cd "$HOME/Projects/github/dockersrc/archlinux" && 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) ⛵  
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user