Skip to content

Commit

Permalink
Remove apt-get update, rely on repeatable packages in the image
Browse files Browse the repository at this point in the history
**Why?**

The `apt-get update` could fail as it fetches the latest updates that
might break the build. Instead, we should rely on the packages that have
been installed in the CodeBuild image instead.

**What?**

Changed to rely on the latest STANDARD:5.0 container image packages.

**References**

* Fix for issue awslabs#325
  • Loading branch information
sbkok committed Feb 4, 2021
1 parent 21be1c1 commit c78ac9c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,6 @@ Resources:
python: 3.8
pre_build:
commands:
- apt-get update -qq
- pip install -r adf-build/requirements.txt --quiet
- pytest -vvv
build:
Expand Down

0 comments on commit c78ac9c

Please sign in to comment.