Changed devcontainer
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				autoBIGS.galaxy/pipeline/head There was a failure building this commit
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	autoBIGS.galaxy/pipeline/head There was a failure building this commit
				
			This commit is contained in:
		
							
								
								
									
										16
									
								
								.devcontainer/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								.devcontainer/Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| FROM mcr.microsoft.com/devcontainers/miniconda:1-3 | ||||
|  | ||||
| # Copy environment.yml (if found) to a temp location so we update the environment. Also | ||||
| # copy "noop.txt" so the COPY instruction does not fail if no environment.yml exists. | ||||
| COPY environment.yml* .devcontainer/noop.txt /tmp/conda-tmp/ | ||||
| RUN if [ -f "/tmp/conda-tmp/environment.yml" ]; then umask 0002 && /opt/conda/bin/conda env update -n base -f /tmp/conda-tmp/environment.yml; fi \ | ||||
|     && rm -rf /tmp/conda-tmp | ||||
|  | ||||
| # [Optional] Uncomment to install a different version of Python than the default | ||||
| # RUN conda install -y python=3.6 \ | ||||
| #     && pip install --no-cache-dir pipx \ | ||||
| #     && pipx reinstall-all | ||||
|  | ||||
| # [Optional] Uncomment this section to install additional OS packages. | ||||
| # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||||
| #     && apt-get -y install --no-install-recommends <your-package-list-here> | ||||
| @@ -1,9 +1,11 @@ | ||||
| // For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||||
| // README at: https://github.com/devcontainers/templates/tree/main/src/python | ||||
| // README at: https://github.com/devcontainers/templates/tree/main/src/miniconda | ||||
| { | ||||
| 	"name": "Python 3", | ||||
| 	// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||||
| 	"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye", | ||||
| 	"name": "Miniconda (Python 3)", | ||||
| 	"build": {  | ||||
| 		"context": "..", | ||||
| 		"dockerfile": "Dockerfile" | ||||
| 	} | ||||
|  | ||||
| 	// Features to add to the dev container. More info: https://containers.dev/features. | ||||
| 	// "features": {}, | ||||
| @@ -12,7 +14,7 @@ | ||||
| 	// "forwardPorts": [], | ||||
|  | ||||
| 	// Use 'postCreateCommand' to run commands after the container is created. | ||||
| 	"postCreateCommand": "pip3 install --user -r requirements.txt" | ||||
| 	// "postCreateCommand": "python --version", | ||||
|  | ||||
| 	// Configure tool-specific properties. | ||||
| 	// "customizations": {}, | ||||
|   | ||||
							
								
								
									
										3
									
								
								.devcontainer/noop.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.devcontainer/noop.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| This file is copied into the container along with environment.yml* from the | ||||
| parent folder. This is done to prevent the Dockerfile COPY instruction from  | ||||
| failing if no environment.yml is found. | ||||
							
								
								
									
										3
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							| @@ -10,11 +10,10 @@ pipeline { | ||||
|     stages { | ||||
|         stage ("install") { | ||||
|             steps { | ||||
|                 sh 'conda install python==3.12.7 pip -y -q' | ||||
|                 sh 'conda env update -n base --file environment.yml' | ||||
|                 sh 'useradd galaxy -m' | ||||
|                 sh 'apt-get update' | ||||
|                 sh 'apt-get install sudo -y' | ||||
|                 sh 'pip install -r requirements.txt' | ||||
|             } | ||||
|         } | ||||
|         stage ("lint") { | ||||
|   | ||||
							
								
								
									
										7
									
								
								environment.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								environment.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| name: base | ||||
| channels: | ||||
|   - bioconda | ||||
|   - conda-forge | ||||
| dependencies: | ||||
|   - python==3.12 | ||||
|   - planemo | ||||
		Reference in New Issue
	
	Block a user