Skip to content

Commit 5fbb59d

Browse files
committed
Use JSON arguments for CMD
This suppresses a warning about signal handling. It also removes a layer
1 parent 85cccff commit 5fbb59d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,5 @@ RUN printf "id ICON \"$PREFIX/src/w64devkit.ico\"" >w64devkit.rc \
523523
&& cat /mingw-w64-v$MINGW_VERSION/mingw-w64-libraries/winpthreads/COPYING \
524524
>>$PREFIX/COPYING.MinGW-w64-runtime.txt \
525525
&& echo $VERSION >$PREFIX/VERSION.txt \
526-
&& 7z a -mx=9 -mtm=- $PREFIX.7z $PREFIX
527-
ENV PREFIX=${PREFIX}
528-
CMD cat /7z/7z.sfx $PREFIX.7z
526+
&& 7z a -mx=9 -mtm=- w64devkit.7z $PREFIX
527+
CMD ["cat", "/7z/7z.sfx", "w64devkit.7z"]

0 commit comments

Comments
 (0)