Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #8 from iamamutt/main
Browse files Browse the repository at this point in the history
fix(template): 🚑 dockerfile no bash and add build-arg
  • Loading branch information
yambottle authored Jun 13, 2022
2 parents 5c196ac + 2b27c6f commit 2b15a70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-template/codebook_env/dist/debian/codebook.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## docker build --build-arg JHUB_VER=1.4.2 --build-arg PY_VER=3.8 --build-arg DIST=debian --build-arg DEPLOY_KEY=wt-ephys-no-curation-deploy.pem --build-arg REPO_OWNER=dj-sciops --build-arg REPO_NAME=wt-ephys-no-curation -f codebook.Dockerfile -t registry.vathes.com/sciops/codebook-wt-ephys-no-curation:v0.0.0 .
## docker build --build-arg JHUB_VER=1.4.2 --build-arg PY_VER=3.8 --build-arg DIST=debian --build-arg CODEBOOK_BASE_HASH=a7ee3ce --build-arg DEPLOY_KEY=wt-ephys-no-curation-deploy.pem --build-arg REPO_OWNER=dj-sciops --build-arg REPO_NAME=wt-ephys-no-curation -f codebook.Dockerfile -t registry.vathes.com/sciops/codebook-wt-ephys-no-curation:v0.0.0 .

## Single Stage
ARG JHUB_VER
Expand All @@ -20,7 +20,7 @@ RUN ssh-keyscan -t ed25519 github.com >> $HOME/.ssh/known_hosts && \
git clone [email protected]:${REPO_OWNER}/${REPO_NAME}.git && \
pip install ./${REPO_NAME} && \
cp -r ./${REPO_NAME}/notebooks/ /home/ && \
[[ -d ./${REPO_NAME}/images ]] && cp -r ./${REPO_NAME}/images/ /home/notebooks/ && \
cp -r ./${REPO_NAME}/images/ /home/notebooks/ || true && \
cp ./${REPO_NAME}/README.md /home/notebooks/ && \
rm -rf /tmp/${REPO_NAME} && \
rm -rf $HOME/.ssh/
Expand Down

0 comments on commit 2b15a70

Please sign in to comment.