mirror of
https://github.com/dockersrc/archlinux
synced 2024-12-04 11:23:12 -05:00
🗃️ Committing everything that changed 🗃️
Dockerfile .env.scripts README.md
This commit is contained in:
parent
4e0d665e1a
commit
b81ac063d7
@ -4,7 +4,7 @@
|
|||||||
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
|
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
|
||||||
# @@License : MIT
|
# @@License : MIT
|
||||||
# @@Copyright : Copyright 2024 CasjaysDev
|
# @@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
|
# @@File : .env.scripts
|
||||||
# @@Description : Variables for gen-dockerfile and buildx 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.build-date="${BUILD_DATE}"
|
||||||
LABEL org.opencontainers.image.version="${BUILD_VERSION}"
|
LABEL org.opencontainers.image.version="${BUILD_VERSION}"
|
||||||
LABEL org.opencontainers.image.schema-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="https://hub.docker.com/r/casjaysdev/archlinux"
|
||||||
LABEL org.opencontainers.image.url.source="https://hub.docker.com/r/casjaysdevdocker/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-type="Git"
|
||||||
LABEL org.opencontainers.image.vcs-ref="${BUILD_VERSION}"
|
LABEL org.opencontainers.image.vcs-ref="${BUILD_VERSION}"
|
||||||
LABEL org.opencontainers.image.vcs-url="https://github.com/casjaysdevdocker/archlinux"
|
LABEL org.opencontainers.image.vcs-url="https://github.com/dockersrc/archlinux"
|
||||||
LABEL org.opencontainers.image.documentation="https://github.com/casjaysdevdocker/archlinux"
|
LABEL org.opencontainers.image.documentation="https://github.com/dockersrc/archlinux"
|
||||||
LABEL com.github.containers.toolbox="false"
|
LABEL com.github.containers.toolbox="false"
|
||||||
|
|
||||||
ENV ENV=~/.bashrc
|
ENV ENV=~/.bashrc
|
||||||
|
39
README.md
39
README.md
@ -13,25 +13,24 @@ archlinux README
|
|||||||
## Automatic install/update
|
## Automatic install/update
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
dockermgr update archlinux
|
dockermgr update os archlinux
|
||||||
```
|
```
|
||||||
|
|
||||||
## Install and run container
|
## Install and run container
|
||||||
|
|
||||||
```shell
|
```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"
|
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 \
|
docker run -d \
|
||||||
--restart always \
|
--restart always \
|
||||||
--privileged \
|
--privileged \
|
||||||
--name casjaysdevdocker-archlinux \
|
--name casjaysdev-archlinux-latest \
|
||||||
--hostname archlinux \
|
--hostname archlinux \
|
||||||
-e TZ=${TIMEZONE:-America/New_York} \
|
-e TZ=${TIMEZONE:-America/New_York} \
|
||||||
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-archlinux/rootfs/data:/data:z" \
|
-v "/var/lib/srv/root/docker/casjaysdev/archlinux/latest/data:/data:z" \
|
||||||
-v "$HOME/.local/share/srv/docker/casjaysdevdocker-archlinux/rootfs/config:/config:z" \
|
-v "/var/lib/srv/root/docker/casjaysdev/archlinux/latest/config:/config:z" \
|
||||||
-p 80:80 \
|
casjaysdev/archlinux:latest
|
||||||
casjaysdevdocker/archlinux:latest
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## via docker-compose
|
## via docker-compose
|
||||||
@ -40,39 +39,31 @@ casjaysdevdocker/archlinux:latest
|
|||||||
version: "2"
|
version: "2"
|
||||||
services:
|
services:
|
||||||
ProjectName:
|
ProjectName:
|
||||||
image: casjaysdevdocker/archlinux
|
image: casjaysdev/archlinux
|
||||||
container_name: casjaysdevdocker-archlinux
|
container_name: casjaysdev-archlinux-latest
|
||||||
environment:
|
environment:
|
||||||
- TZ=America/New_York
|
- TZ=America/New_York
|
||||||
- HOSTNAME=archlinux
|
- HOSTNAME=archlinux
|
||||||
volumes:
|
volumes:
|
||||||
- "$HOME/.local/share/srv/docker/casjaysdevdocker-archlinux/rootfs/data:/data:z"
|
- "/var/lib/srv/root/docker/casjaysdev/archlinux/latest/data:/data:z"
|
||||||
- "$HOME/.local/share/srv/docker/casjaysdevdocker-archlinux/rootfs/config:/config:z"
|
- "/var/lib/srv/root/docker/casjaysdev/archlinux/latest/config:/config:z"
|
||||||
ports:
|
|
||||||
- 80:80
|
|
||||||
restart: always
|
restart: always
|
||||||
```
|
```
|
||||||
|
|
||||||
## Get source files
|
## Get source files
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
dockermgr download src casjaysdevdocker/archlinux
|
dockermgr download src os archlinux
|
||||||
```
|
|
||||||
|
|
||||||
OR
|
|
||||||
|
|
||||||
```shell
|
|
||||||
git clone "https://github.com/casjaysdevdocker/archlinux" "$HOME/Projects/github/casjaysdevdocker/archlinux"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Build container
|
## Build container
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cd "$HOME/Projects/github/casjaysdevdocker/archlinux"
|
git clone "https://github.com/dockersrc/archlinux" "$HOME/Projects/github/dockersrc/archlinux"
|
||||||
buildx
|
cd "$HOME/Projects/github/dockersrc/archlinux" && buildx all
|
||||||
```
|
```
|
||||||
|
|
||||||
## Authors
|
## Authors
|
||||||
|
|
||||||
🤖 casjay: [Github](https://github.com/casjay) 🤖
|
🤖 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) ⛵
|
||||||
|
Loading…
Reference in New Issue
Block a user