summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index dbb310e..daf9f32 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-ARG IMAGE_VERSION=latest
+ARG TOOLS_IMAGE=registry.gitlab.com/gitlab-org/security-products/license-management/tools:master
FROM debian:stable-slim AS gem-builder
ENV LM_HOME=/opt/license-management
@@ -24,7 +24,7 @@ RUN apt-get update -q \
#COPY config/01_nodoc /etc/dpkg/dpkg.cfg.d/01_nodoc
#RUN bash /root/install.sh && bash -lc 'scrub'
-FROM registry.gitlab.com/gitlab-org/security-products/license-management/tools:${IMAGE_VERSION}
+FROM ${TOOLS_IMAGE}
ENV LM_HOME=/opt/license-management
COPY --from=gem-builder /opt/license-management/*.gem $LM_HOME/
RUN bash -lc 'gem install "$LM_HOME/*.gem"'