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

Pin version of containers in Dockerfiles #167

Merged
merged 2 commits into from
Jun 2, 2022
Merged

Conversation

XeR
Copy link
Contributor

@XeR XeR commented May 29, 2022

Because you never know when nation state hackers are going to compromise the supply chain of containers used by millions to steal your flags

XeR added 2 commits May 29, 2022 13:26
There has been a bunch of supply chain attacks in the last few months.

This commit pins every containers to a specific hash (the most recent at the
time) to reduce the risk of CTFNote users pulling a compromised container.
API uses the same container 3 times.
This commit specifies the version of the container in a variable that gets
reused in the Dockerfile. This makes sure we don't forget to update any of the
containers.
Copy link
Collaborator

@JJ-8 JJ-8 left a comment

Choose a reason for hiding this comment

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

Exactly

@XeR XeR merged commit e787e88 into TFNS:dev Jun 2, 2022
@XeR XeR deleted the 0-pin-dockerfiles branch June 2, 2022 21:17
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