File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11FROM debian:stable-slim
22
3+ WORKDIR /root
4+
35RUN apt-get update && apt-get install -y \
46 openssh-client \
57 rsync \
@@ -12,4 +14,4 @@ RUN apt-get update && apt-get install -y \
1214COPY ./images/odoo-upgrade/bin/* /usr/local/bin/
1315RUN chmod +x /usr/local/bin/upgrade
1416
15- ENTRYPOINT ["upgrade" ]
17+ ENTRYPOINT ["upgrade" ]
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ docker run -it \
2828 --name odoo-upgrade \
2929 -e PGHOST=" $PGHOST " -e PGUSER=" $PGUSER " -e PGPASSWORD=" $PGPASSWORD " \
3030 --network=" $NETWORK " mintsystem/odoo-upgrade \
31+ -v " $PWD " :/root
3132 test -d " $DATABASE " -t " $TARGET_VERSION " -r " $TARGET_DATABASE "
3233```
3334
@@ -66,4 +67,4 @@ pg_dump: detail: server version: 16.9; pg_dump version: 15.12 (Debian 15.12-0+de
6667
6768Ensure that the local postgres server does not have a never version than the remote server.
6869
69- If necessary downgrade the local postgres server.
70+ If necessary downgrade the local postgres server.
You can’t perform that action at this time.
0 commit comments