The generated command should all be on one line

This commit is contained in:
Fabio Manganiello 2019-12-02 00:51:56 +01:00
parent 3a347496d3
commit f08be1f3c1

View file

@ -97,9 +97,11 @@ def generate_dockerfile(deps, ports, cfgfile, devdir, python_version):
content += textwrap.dedent( content += textwrap.dedent(
''' '''
RUN git clone https://github.com/BlackLight/platypush.git /app RUN git clone https://github.com/BlackLight/platypush.git /app \\
&& cd /app && cd /app \\
&& pip install -r requirements.txt && python setup.py build install && pip install -r requirements.txt \\
&& python setup.py build install
RUN apk del git && apk del build-base RUN apk del git && apk del build-base
''') ''')