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

Make singleton container readonly #937

Merged
merged 13 commits into from
Apr 23, 2024
Merged

Make singleton container readonly #937

merged 13 commits into from
Apr 23, 2024

Conversation

NovemberTang
Copy link
Contributor

@NovemberTang NovemberTang commented Apr 22, 2024

What does this change?

Create a custom docker image for the singleton container, so we don't need to install awscli and jq.

Why?

This is part of the work to resolve AWS FSBP ECS.5 (No write access to root file system by default

How has it been verified?

Tested on CODE to verify expected behaviour for one job, and multiple concurrent ones.

What next

Create a reusable workflow for creating container images, as we now have 3 of these. This will be done in a follow-up PR

@NovemberTang NovemberTang marked this pull request as ready for review April 22, 2024 14:42
@NovemberTang NovemberTang requested review from a team as code owners April 22, 2024 14:42
containers/singleton/Dockerfile Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

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

Did we consider using the AWS CLI image plus some awk as a replacement for jq?

I was meant to experiment with this previously...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We talked about this, but I think it represents an extra level of scope creep on a ticket that's already crept up massively, and could probably be a separate investigation.

Copy link
Contributor

@tjsilver tjsilver left a comment

Choose a reason for hiding this comment

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

Looks good!

@NovemberTang NovemberTang merged commit b2e79a5 into main Apr 23, 2024
3 checks passed
@NovemberTang NovemberTang deleted the nt/more-readonly branch April 23, 2024 15:57
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.

4 participants