From 8b67f90bd3d25c6457801303fd2a151127e74c58 Mon Sep 17 00:00:00 2001 From: wutianwei Date: Thu, 30 Nov 2017 14:44:04 +0800 Subject: add ARG in Dockerfile when run the command "docker build --no-cache -t opnfv/compass-tasks:latest --build-arg BRANCH=master -f Dockerfile ." if docker version is lower 1.13, it will fail when not using build-arg in Dockerfile Change-Id: I891a37731d242aba4e37c7b56e0361c741e7eac8 Signed-off-by: wutianwei --- compass-db/Dockerfile | 1 + 1 file changed, 1 insertion(+) (limited to 'compass-db/Dockerfile') diff --git a/compass-db/Dockerfile b/compass-db/Dockerfile index a7208a9..82871b9 100644 --- a/compass-db/Dockerfile +++ b/compass-db/Dockerfile @@ -1,6 +1,7 @@ FROM ubuntu:trusty EXPOSE 3306 +ARG BRANCH=master RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get install -y mysql-server && \ -- cgit 1.2.3-korg