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
1 changed files with 5 additions and 3 deletions

View File

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