Skip to content

Commit

Permalink
Fixing Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean THOMAS committed Dec 3, 2017
1 parent de29d2b commit 594fe2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ RUN sudo chown $user.$user -R /home/$user/code
WORKDIR /home/$user/code/
RUN git submodule init
RUN git submodule update
RUN PLATFORM=bluepill make
RUN PLATFORM=stlinkv2 make
RUN make PLATFORM=bluepill
RUN make PLATFORM=stlinkv2
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
PROJECT="dirtyjtag"
docker build -t dirtyjtag -f Dockerfile .
docker run -v /mnt dirtyjtag bash -c "cp -v /home/$PROJECT/code/src/*.bin /mnt"
docker run -v $PWD:/mnt dirtyjtag bash -c "cp -v /home/$PROJECT/code/src/*.bin /mnt"

0 comments on commit 594fe2d

Please sign in to comment.