mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2026-03-14 22:30:01 +01:00
build
This commit is contained in:
@@ -16,17 +16,8 @@ services:
|
|||||||
container_name: rocky9-sync
|
container_name: rocky9-sync
|
||||||
volumes:
|
volumes:
|
||||||
- /share/docker_data/repo_mirror/data/rocky/9:/repos
|
- /share/docker_data/repo_mirror/data/rocky/9:/repos
|
||||||
command: >
|
- /share/docker_data/repo_mirror/data/rocky9.sh:/rocky9.sh
|
||||||
bash -c "
|
command: /rocky9.sh
|
||||||
dnf install -y dnf-plugins-core &&
|
|
||||||
dnf reposync
|
|
||||||
--repoid=baseos
|
|
||||||
--repoid=appstream
|
|
||||||
--repoid=extras
|
|
||||||
--download-path=/repos
|
|
||||||
--download-metadata
|
|
||||||
--delete
|
|
||||||
"
|
|
||||||
restart: "no"
|
restart: "no"
|
||||||
|
|
||||||
debian-sync:
|
debian-sync:
|
||||||
|
|||||||
Reference in New Issue
Block a user