Reorder Python 2 Dockerfile to install dependencies together.
This commit is contained in:
parent
63a92e3bbd
commit
c3096e30d5
@ -27,6 +27,7 @@ python-jsonschema \
|
|||||||
python-kombu \
|
python-kombu \
|
||||||
python-lxml \
|
python-lxml \
|
||||||
python-migrate \
|
python-migrate \
|
||||||
|
python-mock \
|
||||||
python-py \
|
python-py \
|
||||||
python-pytest \
|
python-pytest \
|
||||||
python-pytest-xdist \
|
python-pytest-xdist \
|
||||||
@ -97,13 +98,5 @@ RUN ./bin/gmg dbupdate
|
|||||||
RUN ./bin/gmg adduser --username admin --password a --email admin@example.com
|
RUN ./bin/gmg adduser --username admin --password a --email admin@example.com
|
||||||
RUN ./bin/gmg makeadmin admin
|
RUN ./bin/gmg makeadmin admin
|
||||||
|
|
||||||
RUN ./bin/pip freeze
|
|
||||||
|
|
||||||
USER root
|
|
||||||
RUN apt-get install -y \
|
|
||||||
curl \
|
|
||||||
python-mock
|
|
||||||
USER www-data
|
|
||||||
|
|
||||||
# You can change this to /bin/bash if you'd prefer a shell.
|
# You can change this to /bin/bash if you'd prefer a shell.
|
||||||
CMD ["./lazyserver.sh", "--server-name=broadcast"]
|
CMD ["./lazyserver.sh", "--server-name=broadcast"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user