We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed72a6b commit db094e9Copy full SHA for db094e9
scripts/deploy.sh
@@ -7,9 +7,6 @@ sudo -v
7
cloujera_container_name="cloujera"
8
cloujera_image_tag=$cloujera_container_name
9
10
-echo "==> Removing existing cloujera container"
11
-sudo docker rm -f $cloujera_container_name || true
12
-
13
echo "==> pulling most recent version (git)"
14
# FIXME: it would be nice to checkout to avoid weird
15
# stuff happening, but it's really easy to run this
@@ -24,9 +21,12 @@ lein cljsbuild once
24
21
echo "==> Uberjarring"
25
22
lein uberjar
26
23
27
-echo "==> Building container"
+echo "==> Building new cloujera container"
28
sudo docker build --tag $cloujera_image_tag ./
29
+echo "==> Removing existing cloujera container"
+sudo docker rm -f $cloujera_container_name || true
+
30
echo "==> Running container"
31
sudo docker run \
32
--detach \
0 commit comments