forked from Deuxfleurs/infrastructure
Upgrade from 6.3.4 to 7.0.5
This commit is contained in:
parent
d1a61defc0
commit
46121cfab9
2 changed files with 6 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
FROM amd64/debian:stretch as builder
|
FROM amd64/debian:buster as builder
|
||||||
|
|
||||||
ENV VERSION 6.3.4
|
ENV VERSION 7.0.5
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get dist-upgrade -y && \
|
apt-get dist-upgrade -y && \
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
|
|
||||||
```
|
```bash
|
||||||
sudo docker build -t superboum/amd64_seafile:v4 .
|
sudo docker build -t superboum/amd64_seafile:v5 .
|
||||||
|
|
||||||
|
# When upgrading:
|
||||||
sudo docker run -t -i \
|
sudo docker run -t -i \
|
||||||
-v /mnt/glusterfs/seafile:/mnt/seafile-data \
|
-v /mnt/glusterfs/seafile:/mnt/seafile-data \
|
||||||
-v /mnt/glusterfs/seaconf/conf:/srv/webstore/conf \
|
-v /mnt/glusterfs/seaconf/conf:/srv/webstore/conf \
|
||||||
-v /mnt/glusterfs/seaconf/ccnet:/srv/webstore/ccnet \
|
-v /mnt/glusterfs/seaconf/ccnet:/srv/webstore/ccnet \
|
||||||
superboum/amd64_seafile:v4
|
superboum/amd64_seafile:v5
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue