Tag: mirror
-
Post Views: 14 1. Error when building an image in Jenkins: Error checking context:canT stat/dataes/jenkins/workspace/ccp/api/code/vendor/james-heinrich/getid3/demos/demo.mysqli.php. as shown in Figure 1 2. Configure -> Build Environment -> Delete Workspace Before Build Starts (check). Build environment -> Delete the workspace before the build starts. as shown in Figure 2 3. The construction is successful. After the build is successful, you can uncheck…
-
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: 19 1. Two items, front and back end, two images, two containers. as shown in Figure 1 2. The front-end builds the directory structure. as shown in Figure 2 3. Interface construction directory structure. as shown in Figure 3 4. Relevant configuration of front-end construction. as shown in Figure 4 5. Relevant configuration of interface construction. as shown…
-
Post Views: 15 1. In GitLab, the last commit ID of multiple tags is the same. as shown in Figure 1 2. In Jenkins, set the tag name of the build: pcs_api_1.13.5.0_base. as shown in Figure 2 3. However, the tag name included in the final image name: pcs_api_1.13.5.0. Not in line with expectations (not equal to settings). as shown…
-
Post Views: 15 1. Enter the container that the environment variable has been replaced, a configuration file, which is in line with expectations. as shown in Figure 1 2. Enter a container that has not been replaced with an environment variable, and a configuration file does not meet the expectations. as shown in Figure 2 3. View the logs of…
-
Post Views: 13 1. When building an image in jenkins, an error is reported: repository registry-vpc.cn-beijing.aliyuncs.com/cmc/centos-nginx112-php72 Not found: not not exist or no pull access. as shown in Figure 1 2. Adjust the configuration item, build – execute shell – command, the value of the user name and password needs to be modified. as shown in Figure 2 3. Build…
-
Post Views: 14 1. When building an image in Jenkins, an error is reported: fatal: could not read from remote repository. Although the Packagist image address has been switched to Alibaba Cloud:https://mirrors.aliyun.com/composer/. View Dockerfile. as shown in Figure 1 2. I finally decided to add the /vendor directory to the git repository: # /vendor, edit .gitignore 3. Edit the Dockerfile…
-
Post Views: 14 1. The upgrade fails in Rancher, and Rolling-Back (Expected State Running But Got Stopped) appears when rolling back, as shown in Figure 1 2. Click the link to view the log, as shown in Figure 2 3. Log: WebTV-PCS-1, prompt: pcs_api_cfg_db_host, unbound variables (it can be clear that the environment variables were bound before, the reason has…