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

Changes to Docker material #270

Merged
merged 23 commits into from
Nov 15, 2024
Merged

Changes to Docker material #270

merged 23 commits into from
Nov 15, 2024

Conversation

fasterius
Copy link
Collaborator

This PR adds changes to the Docker material, including:

  • Removal of old content in Dockerfiles no longer needed
  • Update Dockerfile content to adhere to best practices and standard conventions
  • General streamlining of Dockerfiles for easier understanding and simplifying of the learning process
  • Add extra material on multi-stage builds

The naming we use for the Dockerfiles were not according to the official
documentation. Also added a note about Dockerfile naming conventions.
The instructions for starting to build Docker images were more
complicated than they needed to be for teaching the students the basics
of building images, and this commit streamlines them. Things that have
been removed include:

 - Remove redundant SHELL directive
 - Time zone packages
 - Port forwarding
 - Initialising Conda (not needed with Miniforge base)
 - Usage of `--set subdir linux-64` and `--platform linux/amd64`
   instructions, as they are not needed at this stage
 - Creating a new Conda environment and activating it instead of using
   the base environment

Hopefully this streamlining will make the very first entry into
Dockerfiles and their use easier to understand for the students.
Remove unused and redundant commands from the final Dockerfile in the
container tutorial, including some of the same streamlining steps as for
the earlier Dockerfiles (see a58e880).
Copy link
Collaborator

Choose a reason for hiding this comment

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

I modified the code here to make the sample table less cluttered. There used to be 2 lines for each sample due to the info in gsm$characteristics_ch1. Now we extract the treatment: and growth phase info and put in separate columns, resulting in a condensed table.

@fasterius fasterius merged commit c5ed6fc into main Nov 15, 2024
1 check passed
@fasterius fasterius deleted the docker-changes branch November 15, 2024 08:48
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