mirror of
				https://github.com/bensuperpc/dockcross.git
				synced 2025-10-30 23:56:23 +01:00 
			
		
		
		
	Compare commits
	
		
			14 Commits
		
	
	
		
			update_deb
			...
			update_lin
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 13f60c23b8 | |||
|   | 795dd4dd1f | ||
| 78b96c7a09 | |||
| 336eacf372 | |||
| f65a5ab72b | |||
| 5edf6c6771 | |||
| 260ccce125 | |||
| 3af48d4336 | |||
| 8ebd448ba9 | |||
| 7213d19795 | |||
| 66b9c2b62c | |||
|   | de7b1b0832 | ||
|   | 8896857839 | ||
|   | e37ca78f82 | 
							
								
								
									
										4
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							| @@ -32,7 +32,7 @@ jobs: | ||||
|         if: github.ref == 'refs/heads/master' | ||||
|         run: | | ||||
|             docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }} | ||||
|             docker image push dockcross/base | ||||
|             docker image push dockcross/base --all-tags | ||||
|  | ||||
|   image: | ||||
|     name: ${{ matrix.arch_name }} | ||||
| @@ -58,4 +58,4 @@ jobs: | ||||
|         if: github.ref == 'refs/heads/master' | ||||
|         run: | | ||||
|             docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }} | ||||
|             docker image push dockcross/${{ matrix.arch_name }} | ||||
|             docker image push dockcross/${{ matrix.arch_name }} --all-tags | ||||
|   | ||||
							
								
								
									
										84
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										84
									
								
								Makefile
									
									
									
									
									
								
							| @@ -79,18 +79,12 @@ web-wasm: web-wasm/Dockerfile | ||||
| 	mkdir -p $@/imagefiles && cp -r imagefiles $@/ | ||||
| 	cp -r test web-wasm/ | ||||
| 	$(DOCKER) build -t $(ORG)/web-wasm:latest \ | ||||
| 		-t $(ORG)/web-wasm:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/web-wasm \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		web-wasm | ||||
| 	$(DOCKER) build -t $(ORG)/web-wasm:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/web-wasm \ | ||||
| 		--build-arg VERSION=$(TAG) \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		web-wasm | ||||
| 	rm -rf web-wasm/test | ||||
| 	rm -rf $@/imagefiles | ||||
|  | ||||
| @@ -106,18 +100,12 @@ web-wasm.test: web-wasm | ||||
| manylinux2014-aarch64: manylinux2014-aarch64/Dockerfile | ||||
| 	mkdir -p $@/imagefiles && cp -r imagefiles $@/ | ||||
| 	$(DOCKER) build -t $(ORG)/manylinux2014-aarch64:latest \ | ||||
| 		-t $(ORG)/manylinux2014-aarch64:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/manylinux2014-aarch64 \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		-f manylinux2014-aarch64/Dockerfile . | ||||
| 	$(DOCKER) build -t $(ORG)/manylinux2014-aarch64:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/manylinux2014-aarch64 \ | ||||
| 		--build-arg VERSION=$(TAG) \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		-f manylinux2014-aarch64/Dockerfile . | ||||
| 	rm -rf $@/imagefiles | ||||
|  | ||||
| manylinux2014-aarch64.test: manylinux2014-aarch64 | ||||
| @@ -130,18 +118,12 @@ manylinux2014-aarch64.test: manylinux2014-aarch64 | ||||
| manylinux2014-x64: manylinux2014-x64/Dockerfile | ||||
| 	mkdir -p $@/imagefiles && cp -r imagefiles $@/ | ||||
| 	$(DOCKER) build -t $(ORG)/manylinux2014-x64:latest \ | ||||
| 		-t $(ORG)/manylinux2014-x64:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/manylinux2014-x64 \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		-f manylinux2014-x64/Dockerfile . | ||||
| 	$(DOCKER) build -t $(ORG)/manylinux2014-x64:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/manylinux2014-x64 \ | ||||
| 		--build-arg VERSION=$(TAG) \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		-f manylinux2014-x64/Dockerfile . | ||||
| 	rm -rf $@/imagefiles | ||||
|  | ||||
| manylinux2014-x64.test: manylinux2014-x64 | ||||
| @@ -154,18 +136,12 @@ manylinux2014-x64.test: manylinux2014-x64 | ||||
| manylinux2014-x86: manylinux2014-x86/Dockerfile | ||||
| 	mkdir -p $@/imagefiles && cp -r imagefiles $@/ | ||||
| 	$(DOCKER) build -t $(ORG)/manylinux2014-x86:latest \ | ||||
| 		-t $(ORG)/manylinux2014-x86:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/manylinux2014-x86 \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		-f manylinux2014-x86/Dockerfile . | ||||
| 	$(DOCKER) build -t $(ORG)/manylinux2014-x86:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/manylinux2014-x86 \ | ||||
| 		--build-arg VERSION=$(TAG) \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		-f manylinux2014-x86/Dockerfile . | ||||
| 	rm -rf $@/imagefiles | ||||
|  | ||||
| manylinux2014-x86.test: manylinux2014-x86 | ||||
| @@ -179,18 +155,12 @@ manylinux2014-x86.test: manylinux2014-x86 | ||||
| manylinux2010-x64: manylinux2010-x64/Dockerfile | ||||
| 	mkdir -p $@/imagefiles && cp -r imagefiles $@/ | ||||
| 	$(DOCKER) build -t $(ORG)/manylinux2010-x64:latest \ | ||||
| 		-t $(ORG)/manylinux2010-x64:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/manylinux2010-x64 \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		-f manylinux2010-x64/Dockerfile . | ||||
| 	$(DOCKER) build -t $(ORG)/manylinux2010-x64:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/manylinux2010-x64 \ | ||||
| 		--build-arg VERSION=$(TAG) \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		-f manylinux2010-x64/Dockerfile . | ||||
| 	rm -rf $@/imagefiles | ||||
|  | ||||
| manylinux2010-x64.test: manylinux2010-x64 | ||||
| @@ -204,18 +174,12 @@ manylinux2010-x64.test: manylinux2010-x64 | ||||
| manylinux2010-x86: manylinux2010-x86/Dockerfile | ||||
| 	mkdir -p $@/imagefiles && cp -r imagefiles $@/ | ||||
| 	$(DOCKER) build -t $(ORG)/manylinux2010-x86:latest \ | ||||
| 		-t $(ORG)/manylinux2010-x86:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/manylinux2010-x86 \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		-f manylinux2010-x86/Dockerfile . | ||||
| 	$(DOCKER) build -t $(ORG)/manylinux2010-x86:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/manylinux2010-x86 \ | ||||
| 		--build-arg VERSION=$(TAG) \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		-f manylinux2010-x86/Dockerfile . | ||||
| 	rm -rf $@/imagefiles | ||||
|  | ||||
| manylinux2010-x86.test: manylinux2010-x86 | ||||
| @@ -229,18 +193,12 @@ manylinux2010-x86.test: manylinux2010-x86 | ||||
| manylinux1-x64: manylinux1-x64/Dockerfile | ||||
| 	mkdir -p $@/imagefiles && cp -r imagefiles $@/ | ||||
| 	$(DOCKER) build -t $(ORG)/manylinux1-x64:latest \ | ||||
| 		-t $(ORG)/manylinux1-x64:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/manylinux1-x64 \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		-f manylinux1-x64/Dockerfile . | ||||
| 	$(DOCKER) build -t $(ORG)/manylinux1-x64:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/manylinux1-x64 \ | ||||
| 		--build-arg VERSION=$(TAG) \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		-f manylinux1-x64/Dockerfile . | ||||
| 	rm -rf $@/imagefiles | ||||
|  | ||||
| manylinux1-x64.test: manylinux1-x64 | ||||
| @@ -254,18 +212,12 @@ manylinux1-x64.test: manylinux1-x64 | ||||
| manylinux1-x86: manylinux1-x86/Dockerfile | ||||
| 	mkdir -p $@/imagefiles && cp -r imagefiles $@/ | ||||
| 	$(DOCKER) build -t $(ORG)/manylinux1-x86:latest \ | ||||
| 		-t $(ORG)/manylinux1-x86:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/manylinux1-x86 \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		-f manylinux1-x86/Dockerfile . | ||||
| 	$(DOCKER) build -t $(ORG)/manylinux1-x86:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/manylinux1-x86 \ | ||||
| 		--build-arg VERSION=$(TAG) \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		-f manylinux1-x86/Dockerfile . | ||||
| 	rm -rf $@/imagefiles | ||||
|  | ||||
| manylinux1-x86.test: manylinux1-x86 | ||||
| @@ -278,14 +230,10 @@ manylinux1-x86.test: manylinux1-x86 | ||||
|  | ||||
| base: Dockerfile imagefiles/ | ||||
| 	$(DOCKER) build -t $(ORG)/base:latest \ | ||||
| 		-t $(ORG)/base:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/base \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		. | ||||
| 	$(DOCKER) build -t $(ORG)/base:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/base \ | ||||
| 		--build-arg VERSION=$(TAG) \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		. | ||||
|  | ||||
| base.test: base | ||||
| 	$(DOCKER) run $(RM) $(ORG)/base > $(BIN)/dockcross-base && chmod +x $(BIN)/dockcross-base | ||||
| @@ -305,18 +253,12 @@ $(VERBOSE).SILENT: display_images | ||||
| $(STANDARD_IMAGES): %: %/Dockerfile base | ||||
| 	mkdir -p $@/imagefiles && cp -r imagefiles $@/ | ||||
| 	$(DOCKER) build -t $(ORG)/$@:latest \ | ||||
| 		-t $(ORG)/$@:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/$@ \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		$@ | ||||
| 	$(DOCKER) build -t $(ORG)/$@:$(TAG) \ | ||||
| 		--build-arg IMAGE=$(ORG)/$@ \ | ||||
| 		--build-arg VERSION=$(TAG) \ | ||||
| 		--build-arg VCS_REF=`git rev-parse --short HEAD` \ | ||||
| 		--build-arg VCS_URL=`git config --get remote.origin.url` \ | ||||
| 		--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \ | ||||
| 		$@ | ||||
| 	rm -rf $@/imagefiles | ||||
|  | ||||
| clean: | ||||
| @@ -324,6 +266,12 @@ clean: | ||||
| 	for d in $(GEN_IMAGE_DOCKERFILES) ; do rm -f $$d/Dockerfile ; done | ||||
| 	rm -f Dockerfile | ||||
|  | ||||
| purge: clean | ||||
| # Remove all untagged images | ||||
| 	$(DOCKER) container ls -aq | xargs --no-run-if-empty $(DOCKER) container rm -f | ||||
| # Remove all images with organization (ex dockcross/*) | ||||
| 	$(DOCKER) images --filter=reference='$(ORG)/*' --format='{{.Repository}}:{{.Tag}}' | xargs -r $(DOCKER) rmi -f | ||||
|  | ||||
| # | ||||
| # testing implicit rule | ||||
| # | ||||
|   | ||||
| @@ -21,6 +21,10 @@ RUN apt-get update --yes && apt-get install --no-install-recommends --yes \ | ||||
|     help2man \ | ||||
|     python3-dev \ | ||||
|     texinfo \ | ||||
| # Packages needed for crosstool-ng 1.24 or higher  | ||||
|     unzip \ | ||||
|     libtool \ | ||||
|     libtool-bin \ | ||||
|     && apt-get clean autoclean --yes \ | ||||
|     && apt-get autoremove --yes \ | ||||
|     && rm -rf /var/lib/{apt,dpkg,cache,log}/ | ||||
|   | ||||
| @@ -2,7 +2,8 @@ FROM dockcross/base:latest | ||||
| MAINTAINER Matt McCormick "matt.mccormick@kitware.com" | ||||
|  | ||||
| # Crosstool-ng version | ||||
| ENV CT_VERSION crosstool-ng-1.23.0 | ||||
| # We use a git commit while waiting for 1.25 to release (1.24 is several years old) | ||||
| ENV CT_VERSION 9e10cb6fbaab6d83e1305b2d53ab585d14989667 | ||||
|  | ||||
| # This is for 32-bit ARMv7 Linux | ||||
| #include "common.crosstool" | ||||
|   | ||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -1,4 +1,4 @@ | ||||
| FROM emscripten/emsdk:2.0.22 | ||||
| FROM emscripten/emsdk:2.0.24 | ||||
| MAINTAINER Matt McCormick "matt.mccormick@kitware.com" | ||||
|  | ||||
| # Revert back to "/bin/sh" as default shell | ||||
|   | ||||
		Reference in New Issue
	
	Block a user