Skip to content

Commit

Permalink
Update base image to Debian buster (argoproj#2431)
Browse files Browse the repository at this point in the history
  • Loading branch information
jannfis authored and Alexander Matyushentsev committed Oct 8, 2019
1 parent f45991c commit 963300a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
ARG BASE_IMAGE=debian:9.5-slim
ARG BASE_IMAGE=debian:10-slim
####################################################################################################
# Builder image
# Initial stage which pulls prepares build dependencies and CLI tooling we need for our final image
# Also used as the image in CI jobs so needs all dependencies
####################################################################################################
FROM golang:1.12.6 as builder

RUN echo 'deb http://deb.debian.org/debian stretch-backports main' >> /etc/apt/sources.list
RUN echo 'deb http://deb.debian.org/debian buster-backports main' >> /etc/apt/sources.list

RUN apt-get update && apt-get install -y \
openssh-server \
Expand Down Expand Up @@ -72,7 +72,7 @@ FROM $BASE_IMAGE as argocd-base

USER root

RUN echo 'deb http://deb.debian.org/debian stretch-backports main' >> /etc/apt/sources.list
RUN echo 'deb http://deb.debian.org/debian buster-backports main' >> /etc/apt/sources.list

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

0 comments on commit 963300a

Please sign in to comment.