Commit 92fedaf0 authored by Stan Hu's avatar Stan Hu

Combine Git command-line install into one layer

parent 1c38a6e0
......@@ -7,8 +7,9 @@ LABEL authors.maintainer "GDK contributors: https://gitlab.com/gitlab-org/gitlab
RUN useradd --user-group --create-home gdk
ENV DEBIAN_FRONTEND=noninteractive
COPY packages.txt /
RUN apt-get update && apt-get install -y $(sed -e 's/#.*//' /packages.txt)
RUN add-apt-repository ppa:git-core/ppa -y && apt-get update && apt-get install -y git
RUN apt-get update && apt-get install -y software-properties-common \
&& add-apt-repository ppa:git-core/ppa -y \
&& apt-get install -y $(sed -e 's/#.*//' /packages.txt)
# stages for fetching remote content
# highly cacheable
......
......@@ -5,7 +5,6 @@
build-essential
curl
git
software-properties-common
sudo
wget
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment