Skip to content

Commit

Permalink
Minor fix of builder images
Browse files Browse the repository at this point in the history
  • Loading branch information
mabrarov committed Nov 13, 2020
1 parent 60f6cb1 commit ab3f9a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion j2cli-builder-image/src/main/resources/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN venv_dir="@j2cli.venv.dir@" && \
output_file="@output.file@" && \
mkdir -p "$(dirname "${output_file}")" && \
ls -A -1 "${venv_dir}" \
| tar --sort=name --owner=0:0 --group=0:0 --mtime='UTC 1970-01-01' \
| tar --sort=name --owner=root:0 --group=root:0 --mtime='UTC 1970-01-01' \
-C "${venv_dir}" -czf "${output_file}" --verbatim-files-from -T - && \
echo "Jinja binaries location: ${output_file}"

Expand Down
2 changes: 1 addition & 1 deletion redis-builder-image/src/main/resources/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN source_dir="/usr/src/redis-@redis.version@" && \
output_file="@output.file@" && \
mkdir -p "$(dirname "${output_file}")" && \
ls -A -1 "${install_dir}" \
| tar --sort=name --owner=0:0 --group=0:0 --mtime='UTC 1970-01-01' \
| tar --sort=name --owner=root:0 --group=root:0 --mtime='UTC 1970-01-01' \
-C "${install_dir}" -czf "${output_file}" --verbatim-files-from -T - && \
rm -rf "${install_dir}" && \
make -C "${source_dir}" distclean && \
Expand Down

0 comments on commit ab3f9a3

Please sign in to comment.