docker: perform a hard submodule reset after having moved the git repos directory
Signed-off-by: Ron Evans <ron@hybridgroup.com>
Этот коммит содержится в:
		
							родитель
							
								
									4978065c9c
								
							
						
					
					
						коммит
						2511aefac0
					
				
					 1 изменённых файлов: 4 добавлений и 1 удалений
				
			
		|  | @ -10,8 +10,11 @@ RUN wget -O- https://raw.githubusercontent.com/golang/dep/master/install.sh | sh | |||
| 
 | ||||
| COPY . /go/src/github.com/tinygo-org/tinygo | ||||
| 
 | ||||
| # remove submodules directories and re-init them to fix any hard-coded paths | ||||
| # after copying the tinygo directory in the previous step. | ||||
| RUN cd /go/src/github.com/tinygo-org/tinygo/ && \ | ||||
|     git submodule update --init | ||||
|     rm -rf ./lib/* && \ | ||||
|     git submodule update --init --recursive --force | ||||
| 
 | ||||
| RUN cd /go/src/github.com/tinygo-org/tinygo/ && \ | ||||
|     dep ensure --vendor-only && \ | ||||
|  |  | |||
		Загрузка…
	
	Создание таблицы
		
		Сослаться в новой задаче
	
	 Ron Evans
						Ron Evans