mirror of https://github.com/alibaba/SREWorks.git
				
				
				
			fix: Update appmanager postrun dockerfile to fix build problem.
This commit is contained in:
		
							parent
							
								
									ce5120ea64
								
							
						
					
					
						commit
						6f9149624b
					
				
							
								
								
									
										2
									
								
								build.sh
								
								
								
								
							
							
						
						
									
										2
									
								
								build.sh
								
								
								
								
							|  | @ -174,7 +174,7 @@ target_appmanager_postrun(){ | |||
|         echo "-- build appmanager postrun --" >&2 | ||||
|         TMP_DOCKERFILE="/tmp/${RANDOM}.dockerfile" | ||||
|         envsubst < $SW_ROOT/paas/appmanager/Dockerfile_postrun_sreworks.tpl > ${TMP_DOCKERFILE} | ||||
|         docker build -t sw-paas-appmanager-postrun:$tag -f ${TMP_DOCKERFILE} $SW_ROOT/paas/appmanager | ||||
|         docker build -t sw-paas-appmanager-postrun:$tag -f ${TMP_DOCKERFILE} $SW_ROOT | ||||
|         docker tag sw-paas-appmanager-postrun:$tag sw-paas-appmanager-postrun:latest | ||||
|     fi | ||||
|     if [ -n "$PUSH_REPO" ]; then | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| FROM sw-postrun:latest | ||||
| COPY ../../plugins /app/plugins | ||||
| COPY ./APP-META-PRIVATE/postrun /app/postrun | ||||
| COPY ./plugins /app/plugins | ||||
| COPY ./paas/appmanager/APP-META-PRIVATE/postrun /app/postrun | ||||
| ENV SREWORKS_INIT "enable" | ||||
| RUN sed -i 's/dl-cdn.alpinelinux.org/${APK_REPO_DOMAIN}/g' /etc/apk/repositories | ||||
| RUN pip config set global.index-url ${PYTHON_PIP} && pip config set global.trusted-host ${PYTHON_PIP_DOMAIN} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue