diff options
author | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2019-09-02 10:21:12 +0300 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2019-09-03 18:26:45 +0300 |
commit | 8e18030b0312b1a5f4d7dfe305690e6b9c09cea8 (patch) | |
tree | 95c768a090e0775fe8647cc10d8d89f71addb6ff /Dockerfile.build-debian | |
parent | 2a894cfeaefd359edc37182508cae2219612eabd (diff) |
Dockerfile: Make sure that we use correct base image
Correct one = the one tagged with current commit, so in case of parallel
pipelines we don't take the wrong "latest".
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'Dockerfile.build-debian')
-rw-r--r-- | Dockerfile.build-debian | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile.build-debian b/Dockerfile.build-debian index 2749b177..13553c5a 100644 --- a/Dockerfile.build-debian +++ b/Dockerfile.build-debian @@ -1,4 +1,5 @@ -FROM build-debian-minimal +ARG CI_COMMIT_SHA +FROM build-debian-minimal:commit-$CI_COMMIT_SHA RUN apt-get update RUN apt-get install -y \ |