Skip to content

Commit 1eb29f5

Browse files
committed
Comments for Dockerfile
1 parent 4e9f8f8 commit 1eb29f5

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Dockerfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ RUN make build && \
99

1010
# package
1111
FROM alpine
12-
RUN apk --no-cache add e2fsprogs xfsprogs util-linux && rm -rf /usr/share/terminfo && rm -rf /etc/terminfo
12+
RUN apk --no-cache add \
13+
# fs detection
14+
file \
15+
# ext4
16+
e2fsprogs \
17+
# xfs
18+
xfsprogs util-linux \
19+
# terminfo files are shipped with 'util-linux' and are hardlinks - that breaks docker export tar
20+
&& rm -rf /usr/share/terminfo \
21+
&& rm -rf /etc/terminfo
22+
1323
COPY --from=builder /docker-volume-loopback /
1424
CMD [ "/docker-volume-loopback" ]

0 commit comments

Comments
 (0)