fix bug
This commit is contained in:
parent
1256279e1c
commit
0d8f43c685
@ -48,15 +48,15 @@ docker run -d --name local-ubuntu-mirror \
|
|||||||
--env UBUNTU_MIRROR_PROJECTS=focal,focal-updates,focal-security,focal-backports \
|
--env UBUNTU_MIRROR_PROJECTS=focal,focal-updates,focal-security,focal-backports \
|
||||||
-p 8080:80 \
|
-p 8080:80 \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
sneak/ubuntumirror:latest
|
sneak/ubuntumirror@sha256:7de7cc8245106bb574029a2dedca5aa218af08d802b989cdc7857fb57f876a02
|
||||||
```
|
```
|
||||||
|
|
||||||
# Example CapRover Definition File
|
# Example CapRover Definition File
|
||||||
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"schemaVersion": 2,
|
"schemaVersion": 2,
|
||||||
"imageName": "sneak/ubuntumirror:latest"
|
"imageName": "sneak/ubuntumirror@sha256:7de7cc8245106bb574029a2dedca5aa218af08d802b989cdc7857fb57f876a02"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -9,5 +9,5 @@ rm -rf /var/mirror/ubuntu/.temp
|
|||||||
while sleep 1 ; do
|
while sleep 1 ; do
|
||||||
cd /opt/mirror && make
|
cd /opt/mirror && make
|
||||||
|
|
||||||
sleep ${MIRROR_INTERVAL_SECONDS}
|
sleep ${MIRROR_UPDATE_INTERVAL_SECONDS}
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user