18 lines
369 B
Docker
18 lines
369 B
Docker
FROM debian:stable-slim
|
|
|
|
WORKDIR /root
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
openssh-client \
|
|
rsync \
|
|
postgresql-client \
|
|
python3 \
|
|
python3-uvicorn \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& ln -s /usr/bin/python3 /usr/bin/python
|
|
|
|
COPY ./images/odoo-upgrade/bin/* /usr/local/bin/
|
|
RUN chmod +x /usr/local/bin/upgrade
|
|
|
|
ENTRYPOINT ["upgrade"]
|