Skip to content

Conversation

@johanfylling
Copy link
Contributor

@johanfylling johanfylling commented Aug 26, 2025

The old ashtalk/python-go-perl image is out-of-date.
Adding a Dockerfile removes external dependencies (kinda; less indirection at least).

@netlify
Copy link

netlify bot commented Aug 26, 2025

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit f59c339
🔍 Latest deploy log https://app.netlify.com/projects/openpolicyagent/deploys/68adb6ed56da8600083f7933
😎 Deploy Preview https://deploy-preview-7864--openpolicyagent.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@@ -0,0 +1,6 @@
FROM golang:1.24

RUN apt-get update
Copy link
Contributor

Choose a reason for hiding this comment

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

[nit] We could massage this, there are some common tweaks about using apt-get in dockerfiles, but since this is really niche file for our tooling purposes (i.e. something to get rid of soon, please), let's roll with it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, this is just to keep the wheels spinning until we can do a larger overhaul of the release process. The release script is in need of some TLC too.

RUN apt-get update
RUN apt-get -y install python3
RUN apt-get -y install python3-setuptools
RUN apt-get -y install python3-pip
Copy link
Contributor

Choose a reason for hiding this comment

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

Also, where's perl? already in the image?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I suppose so 🤷. I just copied the config from the original ashtalk/python-go-perl and bumped the go version.

@johanfylling johanfylling merged commit a3e4851 into open-policy-agent:main Aug 27, 2025
78 of 83 checks passed
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