kopia lustrzana https://github.com/nytimes/rd-blender-docker
Fix bug where xz-utils dependency populated multipule times 🐛
rodzic
dab3412e28
commit
2103c8e1f9
|
@ -1,4 +1,4 @@
|
|||
# Dockerfile autogenerated on 06/15/2020, 17:03:56 by juniorxsound
|
||||
# Dockerfile autogenerated on 06/15/2020, 20:19:12 by juniorxsound
|
||||
# Please do not edit this file directly
|
||||
|
||||
FROM ubuntu:18.04
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Dockerfile autogenerated on 06/15/2020, 17:03:56 by juniorxsound
|
||||
# Dockerfile autogenerated on 06/15/2020, 20:19:12 by juniorxsound
|
||||
# Please do not edit this file directly
|
||||
|
||||
FROM nvidia/cudagl:10.1-base-ubuntu18.04
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Dockerfile autogenerated on 06/15/2020, 17:03:56 by juniorxsound
|
||||
# Dockerfile autogenerated on 06/15/2020, 20:19:12 by juniorxsound
|
||||
# Please do not edit this file directly
|
||||
|
||||
FROM ubuntu:18.04
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Dockerfile autogenerated on 06/15/2020, 17:03:56 by juniorxsound
|
||||
# Dockerfile autogenerated on 06/15/2020, 20:19:12 by juniorxsound
|
||||
# Please do not edit this file directly
|
||||
|
||||
FROM nvidia/cudagl:10.1-base-ubuntu18.04
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Dockerfile autogenerated on 06/15/2020, 17:03:56 by juniorxsound
|
||||
# Dockerfile autogenerated on 06/15/2020, 20:19:12 by juniorxsound
|
||||
# Please do not edit this file directly
|
||||
|
||||
FROM ubuntu:18.04
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Dockerfile autogenerated on 06/15/2020, 17:03:56 by juniorxsound
|
||||
# Dockerfile autogenerated on 06/15/2020, 20:19:12 by juniorxsound
|
||||
# Please do not edit this file directly
|
||||
|
||||
FROM nvidia/cudagl:10.1-base-ubuntu18.04
|
||||
|
@ -29,7 +29,6 @@ RUN apt-get update && apt-get install -y \
|
|||
libfontconfig1 \
|
||||
libxrender1 \
|
||||
libgl1-mesa-glx \
|
||||
xz-utils \
|
||||
xz-utils
|
||||
|
||||
# Download and install Blender
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Dockerfile autogenerated on 06/15/2020, 17:03:56 by juniorxsound
|
||||
# Dockerfile autogenerated on 06/15/2020, 20:19:12 by juniorxsound
|
||||
# Please do not edit this file directly
|
||||
|
||||
FROM ubuntu:18.04
|
||||
|
@ -29,8 +29,6 @@ RUN apt-get update && apt-get install -y \
|
|||
libfontconfig1 \
|
||||
libxrender1 \
|
||||
libgl1-mesa-glx \
|
||||
xz-utils \
|
||||
xz-utils \
|
||||
xz-utils
|
||||
|
||||
# Download and install Blender
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Dockerfile autogenerated on 06/15/2020, 17:03:56 by juniorxsound
|
||||
# Dockerfile autogenerated on 06/15/2020, 20:19:12 by juniorxsound
|
||||
# Please do not edit this file directly
|
||||
|
||||
FROM nvidia/cudagl:10.1-base-ubuntu18.04
|
||||
|
@ -29,9 +29,6 @@ RUN apt-get update && apt-get install -y \
|
|||
libfontconfig1 \
|
||||
libxrender1 \
|
||||
libgl1-mesa-glx \
|
||||
xz-utils \
|
||||
xz-utils \
|
||||
xz-utils \
|
||||
xz-utils
|
||||
|
||||
# Download and install Blender
|
||||
|
|
|
@ -68,6 +68,11 @@ def create_dockerfile(base_os: str,
|
|||
for dependency, has_more in lookahead(deps):
|
||||
is_multiline = " \ " if has_more else ""
|
||||
dockerfile += "\u0009{}{}\n".format(dependency, is_multiline)
|
||||
|
||||
# Needed so xz-utils doesn't accumalate
|
||||
if archivetype == "xz":
|
||||
deps.pop()
|
||||
|
||||
dockerfile += "\n"
|
||||
|
||||
dockerfile += "# Download and install Blender\n"
|
||||
|
|
Ładowanie…
Reference in New Issue