Skip to content

feat: add Containerfile and DESCRIPTION#78

Open
artur-sannikov wants to merge 1 commit intomicrobiome:develfrom
artur-sannikov:feat/docker-image
Open

feat: add Containerfile and DESCRIPTION#78
artur-sannikov wants to merge 1 commit intomicrobiome:develfrom
artur-sannikov:feat/docker-image

Conversation

@artur-sannikov
Copy link
Contributor

@artur-sannikov artur-sannikov commented Nov 12, 2025

See #68.

The PR introduces Container file to build OCI-compliant container images using the DESCRIPTION file.

TODO:

  • I could not make quarto install tinytex to install when building locally. For some reason, it cannot download the tinytex from remote, even though from inside the container it works
  • GitHub Actions should be used to build the image and push it to ghcr.io

@artur-sannikov
Copy link
Contributor Author

@TuomasBorman. The image builds fine and the paper inside the container too.

You can check the image here: https://github.com/artur-sannikov/OMA_manuscript/pkgs/container/oma-manuscript

@artur-sannikov
Copy link
Contributor Author

@TuomasBorman

@TuomasBorman
Copy link
Contributor

Thank you! I have to check this next week, I will be on holiday Thursday-Friday and too much tasks already for today. Sorry!

Copy link
Contributor

Choose a reason for hiding this comment

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

Are these changes made by you? .tex file is generated by qmd file; the changes in .tex file will be overwritten

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, git blame says that. But I don't recall even opening that file. They can and should be overwritten.

DESCRIPTION Outdated
@@ -0,0 +1,41 @@
Package: omaManuscript
Copy link
Contributor

Choose a reason for hiding this comment

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

Name could be OMA_manuscript as in repo name

Containerfile Outdated
R -e "install.packages('remotes', repos = c(CRAN = 'https://cloud.r-project.org'))" && \
R -e "remotes::install_deps(dependencies = TRUE)"


Copy link
Contributor

Choose a reason for hiding this comment

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

Remove extra line break

Copy link
Contributor

@TuomasBorman TuomasBorman left a comment

Choose a reason for hiding this comment

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

See comments. Looks good, I think!

Copy link
Contributor

@TuomasBorman TuomasBorman left a comment

Choose a reason for hiding this comment

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

Can you remove all commits related to manuscript.pdf, manuscript.tex and figures? Not sure what are those changes as they are not related to docker. Otherwise seems good

@artur-sannikov artur-sannikov force-pushed the feat/docker-image branch 3 times, most recently from aa67311 to 05c6023 Compare January 14, 2026 11:53
@artur-sannikov
Copy link
Contributor Author

@TuomasBorman, can be merged.

@artur-sannikov
Copy link
Contributor Author

Authors were missing in the DESCRIPTION file.

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