Skip to content

Commit

Permalink
Enhancement: Add git in ci variants
Browse files Browse the repository at this point in the history
  • Loading branch information
leojonathanoh committed May 28, 2024
1 parent f18a1cd commit c28a503
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 0 deletions.
12 changes: 12 additions & 0 deletions generate/templates/Dockerfile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ RUN set -eux; \
rm -rf /var/lib/apt/lists/*;
"@
}

{ $_ -in 'git', 'ci' } {
@"
RUN set -eux; \
apt-get update; \
apt-get install --no-install-recommends -y git; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*;
"@
}

Expand Down
6 changes: 6 additions & 0 deletions variants/16.04-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ RUN set -eux; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*;

RUN set -eux; \
apt-get update; \
apt-get install --no-install-recommends -y git; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*;

RUN set -eux; \
apt-get update; \
apt-get install --no-install-recommends -y jq; \
Expand Down
6 changes: 6 additions & 0 deletions variants/18.04-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ RUN set -eux; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*;

RUN set -eux; \
apt-get update; \
apt-get install --no-install-recommends -y git; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*;

RUN set -eux; \
apt-get update; \
apt-get install --no-install-recommends -y jq; \
Expand Down
6 changes: 6 additions & 0 deletions variants/20.04-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ RUN set -eux; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*;

RUN set -eux; \
apt-get update; \
apt-get install --no-install-recommends -y git; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*;

RUN set -eux; \
apt-get update; \
apt-get install --no-install-recommends -y jq; \
Expand Down
6 changes: 6 additions & 0 deletions variants/22.04-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ RUN set -eux; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*;

RUN set -eux; \
apt-get update; \
apt-get install --no-install-recommends -y git; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*;

RUN set -eux; \
apt-get update; \
apt-get install --no-install-recommends -y jq; \
Expand Down
6 changes: 6 additions & 0 deletions variants/24.04-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ RUN set -eux; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*;

RUN set -eux; \
apt-get update; \
apt-get install --no-install-recommends -y git; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*;

RUN set -eux; \
apt-get update; \
apt-get install --no-install-recommends -y jq; \
Expand Down

0 comments on commit c28a503

Please sign in to comment.