Skip to content

Commit c5751ca

Browse files
committed
Fix to change ownership error
When extracting with tar, there is a case that the following error occurs. --no-same-owner just ignores it. Cannot change ownership to uid 66878, gid 100: Invalid argument Signed-off-by: Kentaro Hayashi <[email protected]>
1 parent f9c5a31 commit c5751ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile.template.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ RUN apt-get update \
135135
&& chmod +x /usr/local/bin/tini \
136136
&& tini -h \
137137
&& wget -O /tmp/jemalloc-5.3.0.tar.bz2 https://github.com/jemalloc/jemalloc/releases/download/5.3.0/jemalloc-5.3.0.tar.bz2 \
138-
&& cd /tmp && tar -xjf jemalloc-5.3.0.tar.bz2 && cd jemalloc-5.3.0/ \
138+
&& cd /tmp && tar -xjf jemalloc-5.3.0.tar.bz2 --no-same-owner && cd jemalloc-5.3.0/ \
139139
# Don't use MADV_FREE to reduce memory usage and improve stability
140140
# https://github.com/fluent/fluentd-docker-image/pull/350
141141
&& (echo "je_cv_madv_free=no" > config.cache) && ./configure -C && make \

0 commit comments

Comments
 (0)