The generated command should all be on one line
This commit is contained in:
parent
3a347496d3
commit
f08be1f3c1
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
''')
|
''')
|
||||||
|
|
Loading…
Reference in a new issue