We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cacfb7 commit 73a551aCopy full SHA for 73a551a
Dockerfile
@@ -1,11 +1,14 @@
1
FROM ubuntu:trusty
2
3
+ARG apt_repository="deb [arch=amd64] http://apt-mk.mirantis.com/trusty/ nightly extra"
4
+ARG apt_key_url="http://apt-mk.mirantis.com/public.gpg"
5
+
6
## Common
7
ENV DEBIAN_FRONTEND noninteractive
8
RUN apt-get update && \
9
apt-get install -y wget && \
- echo "deb [arch=amd64] http://apt-mk.mirantis.com/trusty/ nightly extra" >> /etc/apt/sources.list.d/mirantis.list && \
- wget -O - http://apt-mk.mirantis.com/public.gpg | apt-key add -
10
+ echo "$apt_repository" >> /etc/apt/sources.list.d/mirantis.list && \
11
+ wget -O - $apt_key_url | apt-key add -
12
13
RUN apt-get update && apt-get install -y python-flask-hello
14
0 commit comments