Skip to content

Commit

Permalink
Support parameterizing argocd base image (argoproj#1741)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Matyushentsev authored Jun 14, 2019
1 parent 05097f3 commit 87ac100
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ARG BASE_IMAGE=debian:9.5-slim
####################################################################################################
# Builder image
# Initial stage which pulls prepares build dependencies and CLI tooling we need for our final image
Expand Down Expand Up @@ -93,7 +94,7 @@ RUN cd ${GOPATH}/src/dummy && \
####################################################################################################
# Argo CD Base - used as the base for both the release and dev argocd images
####################################################################################################
FROM debian:9.5-slim as argocd-base
FROM $BASE_IMAGE as argocd-base

RUN groupadd -g 999 argocd && \
useradd -r -u 999 -g argocd argocd && \
Expand Down

0 comments on commit 87ac100

Please sign in to comment.