forked from images/gitea-image-forge
Fix unnecessary f-string
This commit is contained in:
parent
a3b8bce75b
commit
abc531abe0
2
build.py
2
build.py
@ -104,7 +104,7 @@ class DockerBuilder:
|
||||
linux32 = '$([ "$(rpm --eval %_host_cpu)" = i586 ] && echo linux32)'
|
||||
for task in tasks:
|
||||
apt_repo += f"\n {linux32} apt-repo add {task} && \\"
|
||||
apt_repo += f"\n apt-get update && \\"
|
||||
apt_repo += "\n apt-get update && \\"
|
||||
else:
|
||||
apt_repo = "\\"
|
||||
update_command = f"""RUN apt-get update && {apt_repo}"""
|
||||
|
Loading…
Reference in New Issue
Block a user