Thank you! The proposed version fixes the permission issue for our Docker build.
See below the results from three different docker.io versions.
$ dpkg -l docker.io | tail -1 hi docker.io 20.10.21-0ubuntu1~22.04.3 amd64 Linux container runtime ...build test-image... $ docker create --name test-container test-image $ docker export test-container | tar tv | grep install-template-files -rwxrwxr-x 1000/1000 1080 2023-08-04 14:16 mnt/liferay/scripts/install-template-files
$ dpkg -l docker.io | tail -1 ii docker.io 20.10.25-0ubuntu1~22.04.1 amd64 Linux container runtime ...build test-image... $ docker create --name test-container2 test-image $ docker export test-container2 | tar tv | grep install-template-files -rwxrwxr-x 0/0 1080 2023-08-04 14:16 mnt/liferay/scripts/install-template-files
$ dpkg -l docker.io | tail -1 ii docker.io 20.10.25-0ubuntu1~22.04.2 amd64 Linux container runtime $ docker create --name test-container3 test-image $ docker export test-container3 | tar tv | grep install-template-files -rwxrwxr-x 1000/1000 1080 2023-08-04 14:16 mnt/liferay/scripts/install-template-files
Thank you! The proposed version fixes the permission issue for our Docker build.
See below the results from three different docker.io versions.
$ dpkg -l docker.io | tail -1 0ubuntu1~ 22.04.3 amd64 Linux container runtime template- files scripts/ install- template- files
hi docker.io 20.10.21-
...build test-image...
$ docker create --name test-container test-image
$ docker export test-container | tar tv | grep install-
-rwxrwxr-x 1000/1000 1080 2023-08-04 14:16 mnt/liferay/
$ dpkg -l docker.io | tail -1 0ubuntu1~ 22.04.1 amd64 Linux container runtime template- files scripts/ install- template- files
ii docker.io 20.10.25-
...build test-image...
$ docker create --name test-container2 test-image
$ docker export test-container2 | tar tv | grep install-
-rwxrwxr-x 0/0 1080 2023-08-04 14:16 mnt/liferay/
$ dpkg -l docker.io | tail -1 0ubuntu1~ 22.04.2 amd64 Linux container runtime template- files scripts/ install- template- files
ii docker.io 20.10.25-
$ docker create --name test-container3 test-image
$ docker export test-container3 | tar tv | grep install-
-rwxrwxr-x 1000/1000 1080 2023-08-04 14:16 mnt/liferay/