Skip to content

Conversation

@amruthesht
Copy link
Contributor

@amruthesht amruthesht commented May 23, 2025

Removing/Commenting out ADD https://loripsum.net/api /opt/docker/etc/gibberish from *.Dockerfile due to ERRORs

@amruthesht amruthesht requested review from Copilot and ljwoods2 May 23, 2025 20:31
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR aims to remove the problematic "loripsum" ADD command from various Dockerfiles to stop the associated errors during builds.

  • Comment out the ADD instruction in docker/namd/GPU.Dockerfile
  • Comment out the ADD instruction in docker/namd/CPU.Dockerfile
  • Comment out the ADD instruction in docker/common/GPU.Dockerfile
  • Comment out the ADD instruction in docker/common/CPU.Dockerfile

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
docker/namd/GPU.Dockerfile Commented out the ADD instruction for loripsum removal
docker/namd/CPU.Dockerfile Commented out the ADD instruction for loripsum removal
docker/common/GPU.Dockerfile Commented out the ADD instruction for loripsum removal
docker/common/CPU.Dockerfile Commented out the ADD instruction for loripsum removal


# bust the docker cache so that we always rerun the installs below
ADD https://loripsum.net/api /opt/docker/etc/gibberish
# ADD https://loripsum.net/api /opt/docker/etc/gibberish
Copy link

Copilot AI May 23, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider removing the commented out ADD instruction entirely if it is no longer needed to reduce code clutter. Alternatively, add a brief comment explaining why it's retained.

Suggested change
# ADD https://loripsum.net/api /opt/docker/etc/gibberish
# ADD https://loripsum.net/api /opt/docker/etc/gibberish
# Retained as a placeholder for potential future use in cache-busting during development.

Copilot uses AI. Check for mistakes.

# bust the docker cache so that we always rerun the installs below
ADD https://loripsum.net/api /opt/docker/etc/gibberish
# ADD https://loripsum.net/api /opt/docker/etc/gibberish
Copy link

Copilot AI May 23, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider removing the commented out ADD instruction entirely if it is no longer needed to reduce code clutter. Alternatively, add a brief comment explaining why it's retained.

Suggested change
# ADD https://loripsum.net/api /opt/docker/etc/gibberish

Copilot uses AI. Check for mistakes.

# bust the docker cache so that we always rerun the installs below
ADD https://loripsum.net/api /opt/docker/etc/gibberish
# ADD https://loripsum.net/api /opt/docker/etc/gibberish
Copy link

Copilot AI May 23, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider removing the commented out ADD instruction entirely if it is no longer needed to reduce code clutter. Alternatively, add a brief comment explaining why it's retained.

Suggested change
# ADD https://loripsum.net/api /opt/docker/etc/gibberish

Copilot uses AI. Check for mistakes.

# bust the docker cache so that we always rerun the installs below
ADD https://loripsum.net/api /opt/docker/etc/gibberish
# ADD https://loripsum.net/api /opt/docker/etc/gibberish
Copy link

Copilot AI May 23, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider removing the commented out ADD instruction entirely if it is no longer needed to reduce code clutter. Alternatively, add a brief comment explaining why it's retained.

Suggested change
# ADD https://loripsum.net/api /opt/docker/etc/gibberish

Copilot uses AI. Check for mistakes.
@amruthesht amruthesht merged commit 5b768d0 into main May 23, 2025
2 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