We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91164f6 commit 2084164Copy full SHA for 2084164
2 files changed
controller/Dockerfile
@@ -22,4 +22,4 @@ WORKDIR /app
22
23
ADD . /app
24
25
-RUN /app/build.sh
+RUN DOCKER_BUILD=true /app/build.sh
controller/build.sh
@@ -1,5 +1,12 @@
1
#!/usr/bin/env bash
2
3
+if [[ -z $DOCKER_BUILD ]]; then
4
+ echo
5
+ echo "Note: this script is intended for use by the Dockerfile and not as a way to build the controller locally"
6
7
+ exit 1
8
+fi
9
+
10
DEBIAN_FRONTEND=noninteractive
11
12
# install required system packages
0 commit comments