From f1b69a1ea3ebf1492ee81e00e0dc15c1ad805505 Mon Sep 17 00:00:00 2001 From: Baris Tanyeri <86656336+BarisTanyeri@users.noreply.github.com> Date: Fri, 12 Jun 2026 11:48:01 +0200 Subject: [PATCH] feat: add GitHub CLI and gh-aw extension installation to Dockerfile and integration tests --- .devcontainer/base/Dockerfile | 46 ++++++++++++++++++- .devcontainer/cpp/devcontainer-metadata.json | 1 + .devcontainer/rust/devcontainer-metadata.json | 1 + .github/TOOL_VERSION_ISSUE_TEMPLATE.md | 2 + test/base/integration-tests.bats | 12 +++++ 5 files changed, 60 insertions(+), 2 deletions(-) diff --git a/.devcontainer/base/Dockerfile b/.devcontainer/base/Dockerfile index 224896e7..1c3f6d9c 100644 --- a/.devcontainer/base/Dockerfile +++ b/.devcontainer/base/Dockerfile @@ -1,5 +1,38 @@ # syntax=docker/dockerfile:1 +ARG GH_VERSION=2.94.0 +ARG GH_AW_VERSION=0.79.6 + +FROM ubuntu:26.04@sha256:f3d28607ddd78734bb7f71f117f3c6706c666b8b76cbff7c9ff6e5718d46ff64 AS downloader + +ARG GH_VERSION +ARG GH_AW_VERSION +ARG TARGETARCH + +SHELL ["/bin/bash", "-Eeuo", "pipefail", "-c"] + +# hadolint ignore=DL3008 +RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ + --mount=type=cache,target=/var/lib/apt,sharing=locked <