We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4002753 + 3af7364 commit f055506Copy full SHA for f055506
2 files changed
registry/Dockerfile
@@ -20,6 +20,9 @@ ENV SETTINGS_FLAVOR deis
20
WORKDIR /app
21
CMD ["/app/bin/boot"]
22
EXPOSE 5000
23
-ADD . /app
24
25
-RUN /app/build.sh
+ADD build.sh /app/build.sh
+
26
+RUN DOCKER_BUILD=true /app/build.sh
27
28
+ADD . /app
registry/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 registry locally"
6
7
+ exit 1
8
+fi
9
10
DEBIAN_FRONTEND=noninteractive
11
12
sed -i 's/main$/main universe/' /etc/apt/sources.list
0 commit comments