Skip to content

Commit

Permalink
Allow bootstrapping of make pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewThe committed Nov 27, 2023
1 parent ca1b2ec commit 4288457
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,6 @@ hash.file
# output files in tutorials folder
tutorials/
!tutorials/Oktoberfest Tutorial.ipynb

# example data
data/
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ RUN ZIP=ThermoRawFileParser1.4.2.zip && \
# Copy source folder
ADD oktoberfest/ /root/oktoberfest

# Copy make files into root folder to allow bootstrapping
ADD Makefile* /root/

# Used by ProteomicsDB runs to describe the oktoberfest version
ADD hash.file /root/hash.file
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ build: dependencies
git describe --long --dirty --always > hash.file
docker build -f Dockerfile -t $(IMAGE) . || (exit 1)

bootstrap: DATA=/root/data
bootstrap:
bash -c "cp /root/Makefile* $(LOCAL_DIR)"

run_oktoberfest: rm_err_file
$(DOCKER_CMD) \
Expand Down

0 comments on commit 4288457

Please sign in to comment.