Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip Raspberry Image #256

Merged
merged 3 commits into from
Oct 18, 2023
Merged

Skip Raspberry Image #256

merged 3 commits into from
Oct 18, 2023

Conversation

xiazhvera
Copy link
Contributor

Issue #, if available:

Description of changes:
As the raspberry image is not available right now. Always pull the latest image and push to ECR.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.


# The job will directly pull the image from the latest, and push to the new tag.
# This job is only for a temporary fix. The cheated image would not get updated.
cheated-images:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cheated sounds awkward? maybe something like passthrough image? since we are not generating new image

@xiazhvera xiazhvera merged commit 7377a96 into main Oct 18, 2023
28 checks passed
@xiazhvera xiazhvera deleted the raspberry_cheat branch October 18, 2023 18:27
graebm added a commit that referenced this pull request Jun 12, 2024
graebm added a commit that referenced this pull request Jun 18, 2024
**Issue:**
awslabs/aws-crt-python#573 needs python3's `venv` installed on all docker images, due to [PEP 668](https://peps.python.org/pep-0668/).

While trying to update our `raspbian-bullseye` image, I discovered it's been broken for months. We'd been [hacking around this](#256) by not even trying to build it anymore, copy/pasting an old working version instead.

**Description of changes:**

- Install `python3-venv` in Docker images that didn't already have it
- Fix `raspbian-bullseye` image.
    - The old image was getting 404 from some repository while running `apt-get update`
    - Use different base image: https://github.com/dtcooper/raspberrypi-os-docker. This was the only easily available `bullseye` image I could find. The implementation looks simple, and it's working.
    - Remove extra stuff from this docker image, like building additional versions of python. I don't know what these were used for (@xiazhvera do you know?). None of our other docker images go through this trouble to build extra python versions. This is already the slowest docker image, due to being armv7, so removing extra work and complication seems extra good.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants