Skip to content

Commit 10c398f

Browse files
leonardocehswong3i
authored andcommitted
Use GNU tar in the Docker image
The busybox implementation of tar doesn't support the `--ignore-failed-read`, which is used when the VolumeSnapshotClass has the `ignoreFailedRead` parameter set to `true`. This patch uses the GNU implementation of tar, which implement that.
1 parent c9d8192 commit 10c398f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ LABEL description="HostPath Driver"
1818
ARG binary=./bin/hostpathplugin
1919

2020
# Add util-linux to get a new version of losetup.
21-
RUN apk add util-linux coreutils socat && apk update && apk upgrade
21+
RUN apk add util-linux coreutils socat tar && apk update && apk upgrade
2222
COPY ${binary} /hostpathplugin
2323
ENTRYPOINT ["/hostpathplugin"]

0 commit comments

Comments
 (0)