Skip to content

Commit

Permalink
Simplified docker entry and upped version number
Browse files Browse the repository at this point in the history
  • Loading branch information
jsseidel committed Nov 1, 2019
1 parent 199c378 commit 1adb6ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docker/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

#docker build -t mktechdocs:0.0.7 .
docker build --no-cache -t mktechdocs:0.0.7 .
#docker build -t mktechdocs:0.0.8 .
docker build --no-cache -t mktechdocs:0.0.8 .
10 changes: 3 additions & 7 deletions docker/docker-entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@

(
cd /project
if [[ ! -r mktechdocs.conf ]] ; then
mktechdocs init <<< $(echo y)
RV=$?
else
mktechdocs
RV=$?
fi
# We add the echo y business because mktechdocs confirms inits
mktechdocs $@ <<< $(echo y)
RV=$?
exit $RV
)
RV=$? ; [[ $RV != 0 ]] && exit $RV
Expand Down

0 comments on commit 1adb6ee

Please sign in to comment.