Tag: RUN
-
Post Views: 49 1. Build an image in Jenkins and report an error: Error Processing tar file(exit status 1): unexpected EOF. as shown in Figure 1 2. Check the Dockerfile, it should be that the number of the add command is too many, which leads to insufficient space. Reference URL: https://stackoverflow.com/questions/42784396/docker-e rror-error-processing-tar-fileexit-status-1-unexpected-eof . as shown in Figure 2 3. Cut…
-
Post Views: 50 1. The content of the Dockerfile is as follows 2. Since there are directories in the basic image: /sobey/www, and it is a blank directory, it is no longer needed. The basic image cannot be upgraded for a while, so I decided to delete the folder in the Dockerfile: /sobey. as shown in Figure 1 3. Add…
-
Post Views: 50 1. The code of the Dockerfile is as follows: 2. When building based on Jenkins, the details of the error are as follows, as shown in Figure 1 3. Edit the dockerfile, temporarily cancel the composer related, after the build is successful, run composer -v in the docker container, no response, as shown in Figure 2 4.…