Skip to content

Commit 5ba2e12

Browse files
committed
fewer layers
1 parent 045f8ed commit 5ba2e12

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,7 @@ RUN \
9696
npm install &&\
9797
npm run install-hack &&\
9898
\
99-
chmod -R +x /protoc/bin &&\
100-
ls -la /protoc/bin/
101-
102-
RUN \
99+
chmod -R +x /protoc/bin &&\
103100
mv /protoc/bin/protoc /protoc/bin/protoc-original &&\
104101
mv /protoc/bin/* /bin/ &&\
105102
mv /protoc/protoc /bin/ &&\
@@ -111,4 +108,6 @@ RUN \
111108
\
112109
chmod -R 0777 /protoc
113110

111+
# https://superuser.com/questions/1409618/renaming-a-file-with-mv-cannot-move-to-a-subdirectory-of-itself
112+
114113
WORKDIR /mnt

0 commit comments

Comments
 (0)