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

Change docker images to use Alpine #679

Open
danyi1212 opened this issue Oct 9, 2024 · 3 comments
Open

Change docker images to use Alpine #679

danyi1212 opened this issue Oct 9, 2024 · 3 comments
Labels
enhancement New feature or request hacktoberfest

Comments

@danyi1212
Copy link
Collaborator

Change the existing Docker files to use Alpine instead of existing Debian

https://github.com/permitio/opal/blob/master/docker/Dockerfile

Requires thorough review and tests

@danyi1212 danyi1212 added enhancement New feature or request hacktoberfest labels Oct 9, 2024
@gemanor
Copy link
Collaborator

gemanor commented Oct 11, 2024

@danyi1212, can you please specify in detail what Requires thorough review and tests means? What are the exact steps someone should walk through, and what output should they attach to the ticket?

ariyonaty added a commit to ariyonaty/opal that referenced this issue Oct 11, 2024
@ariyonaty
Copy link

Started to take a crack at this during the Tikal event.
Here's the commit diff showing the differences (and image size reduced by sizable margin).
Screenshot 2024-10-11 at 5 06 18 PM

Haven't had much time since to perform testing, but my procedure was:

  1. Build updating alpine-based images (based on make docker-build-next
  2. Forked the example policy repo
  3. Export appropriate envvars and kick off run.sh

If you can elaborate/clarify the testing procedure, I can go through that to the best of my ability as well.

@daveads
Copy link
Contributor

daveads commented Nov 8, 2024

@danyi1212 Am checking this out...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

4 participants