summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-03-03 02:49:33 +0100
committerMax Magorsch <arzano@gentoo.org>2020-03-03 02:49:33 +0100
commit971ff33e6cfa9e866493fd087098955ddcf0b14b (patch)
tree0f7320b3734bc08dfcc2de32b90afb6ac043d931
parentInitial version of the pluto based planet (diff)
downloadplanet-971ff33e6cfa9e866493fd087098955ddcf0b14b.tar.gz
planet-971ff33e6cfa9e866493fd087098955ddcf0b14b.tar.bz2
planet-971ff33e6cfa9e866493fd087098955ddcf0b14b.zip
Create the output directories if they are not presentv2.0.1
Signed-off-by: Max Magorsch <arzano@gentoo.org>
-rwxr-xr-xupdate.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index bd79fe7..915c8fe 100755
--- a/update.sh
+++ b/update.sh
@@ -3,6 +3,8 @@
USER=${1:gplanet}
GROUP=${2:gplanet}
+mkdir -p htdocs data
+
docker build --build-arg USER_ID=$(id -u $USER) \
--build-arg GROUP_ID=$(id -g $GROUP) \
-t gentoo/planet-pluto:latest .