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

WIP: Attempt to unify building some of the containers #3

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

wilfwilson
Copy link
Member

So for, this publishes gap-docker-master and gap-docker-stable-4.11 using the same Dockerfile and the same GitHub Actions workflow.

I will see what I can do to build and push more of the images with as little code duplication as possible.

base/Dockerfile Outdated Show resolved Hide resolved
base/Dockerfile Outdated Show resolved Hide resolved
base/Dockerfile Outdated Show resolved Hide resolved
base/Dockerfile Outdated Show resolved Hide resolved
base/Dockerfile Outdated Show resolved Hide resolved
&& make install

# Macaulay2
RUN echo "deb http://www.math.uiuc.edu/Macaulay2/Repositories/Ubuntu $(lsb_release -sc) main" >/etc/apt/sources.list.d/macaulay2.list \
Copy link
Member

Choose a reason for hiding this comment

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

package macaulay2

Copy link
Member

Choose a reason for hiding this comment

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

ah but that one requires Ubuntu 21.10, which isn't an LTS release. But of course 22.04 is also going to be released in the not so distant future, and will be an LTS... and I am not even sure whether it matters that much for us?

Copy link
Collaborator

Choose a reason for hiding this comment

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

it seems it might be available in 21.04 according to http://www2.macaulay2.com/Macaulay2/Downloads/GNU-Linux/Ubuntu/index.html - I could move the current image to hirsute and get it installed via the package manager if you think that's worthwhile?

base/Dockerfile Outdated Show resolved Hide resolved
@wilfwilson
Copy link
Member Author

Just FYI @fingolfin, I haven't written a single line of the gap-docker-base Dockerfile (and basically haven't even looked at it). So I don't know the answer to any of your questions/suggestions. I'm sure they're all good ones!

@fingolfin
Copy link
Member

Yeah, that's fine -- my thought was that at some point, someone (you, me, someone else, doesn't matter) might want to pick up this PR and then it'd be useful to leave my remarks here for them, that's all :-)

@ZachNewbery
Copy link
Collaborator

Just had a chance to have a look at and edit the Dockerfile for these comments - however I can't seem to commit anything to this PR :/ not 100% sure what the issue is but it might be something to do with my permissions for the repository itself? @wilfwilson

@fingolfin
Copy link
Member

@ZachNewbery I just gave you write access to this repo, this should allow you to push to the PR

@ZachNewbery
Copy link
Collaborator

Perfect, I've just pushed my changes!

@wilfwilson
Copy link
Member Author

Thanks for looking at this @ZachNewbery, please feel free to change this PR however you want

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.

3 participants