Skip to content

Commit 1adb6ee

Browse files
author
jsseidel
committed
Simplified docker entry and upped version number
1 parent 199c378 commit 1adb6ee

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

docker/build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

3-
#docker build -t mktechdocs:0.0.7 .
4-
docker build --no-cache -t mktechdocs:0.0.7 .
3+
#docker build -t mktechdocs:0.0.8 .
4+
docker build --no-cache -t mktechdocs:0.0.8 .

docker/docker-entry.sh

+3-7
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,9 @@
22

33
(
44
cd /project
5-
if [[ ! -r mktechdocs.conf ]] ; then
6-
mktechdocs init <<< $(echo y)
7-
RV=$?
8-
else
9-
mktechdocs
10-
RV=$?
11-
fi
5+
# We add the echo y business because mktechdocs confirms inits
6+
mktechdocs $@ <<< $(echo y)
7+
RV=$?
128
exit $RV
139
)
1410
RV=$? ; [[ $RV != 0 ]] && exit $RV

0 commit comments

Comments
 (0)