File tree Expand file tree Collapse file tree
.project_automation/publication Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM public.ecr.aws/codebuild/amazonlinux2-x86_64-standard:4.0
2- RUN yum install -y yum-utils && yum-config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo && yum install -y gh
1+ FROM public.ecr.aws/docker/library/python:3-bookworm
2+ RUN (type -p wget >/dev/null || ( apt update && apt install wget -y)) \
3+ && mkdir -p -m 755 /etc/apt/keyrings \
4+ && out=$(mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg \
5+ && cat $out | tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
6+ && chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
7+ && mkdir -p -m 755 /etc/apt/sources.list.d \
8+ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
9+ && apt update \
10+ && apt install gh -y
311RUN pip install copier
412RUN pip install bump2version
You can’t perform that action at this time.
0 commit comments