Skip to content

Commit

Permalink
Merge pull request #3 from theohbrothers/enhancement/add-git-in-ci-va…
Browse files Browse the repository at this point in the history
…riants

Enhancement: Add `git` in `ci` variants
  • Loading branch information
leojonathanoh authored May 28, 2024
2 parents f18a1cd + c28a503 commit bd0ad61
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 bd0ad61

Please sign in to comment.