Skip to content

Commit dc89474

Browse files
committed
Update cache installation
1 parent a82fdd4 commit dc89474

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/gen_ort_dockerfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ def dockerfile_for_linux(output_file):
141141
ENV CMAKE_CUDA_COMPILER_LAUNCHER="ccache"
142142
ENV VERBOSE=1
143143
RUN apt-get update \\
144-
&& apt-get install -y --no-install-recommends ccache && ccache -p
144+
&& apt-get install -y --no-install-recommends ccache && ccache -p \\
145+
&& rm -rf /var/lib/apt/lists/*
145146
""".format( os.getenv("CCACHE_REMOTE_STORAGE") )
146147

147148
df += """

0 commit comments

Comments
 (0)