Skip to content

Commit

Permalink
Swap to alpine container to minimize dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Vazquez <[email protected]>
  • Loading branch information
austinvazquez committed Apr 20, 2024
1 parent 70c9c37 commit 5f95d4b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .codebuild/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ version: 0.2
phases:
install:
commands:
- |
apk add --no-cache \
bash \
git \
make
- chmod +x -R scripts
- ./scripts/hack/codepipeline-git-commit.sh
- ./scripts/hack/symlink-gopath-codebuild.sh
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@ jobs:
cross-compile:
runs-on: 'ubuntu-22.04'
container: public.ecr.aws/docker/library/golang:1.21
container: public.ecr.aws/docker/library/golang:1.21-alpine
steps:
- run: |
apk add --no-cache \
bash \
git \
make
- uses: actions/checkout@v4
with:
path: src/github.com/awslabs/amazon-ecr-credential-helper
Expand Down

0 comments on commit 5f95d4b

Please sign in to comment.